summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/config-stage1.h
blob: 9ade3816de8097709948105d3e6d93b735b2f5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Guillaume Cottenceau (gc@mandrakesoft.com)
 *
 * Copyright 2000 MandrakeSoft
 *
 * This software may be freely redistributed under the terms of the GNU
 * public license.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

#ifndef _CONFIG_STAGE1_H_
#define _CONFIG_STAGE1_H_

#define _GNU_SOURCE 1


/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
#define MEM_LIMIT_RAMDISK 52

#define DISTRIB_NAME "Mandrake Linux"

#define RAMDISK_COMPRESSION_RATIO 1.95

#define LIVE_LOCATION    "/Mandrake/mdkinst/"
#define RAMDISK_LOCATION "/Mandrake/base/"
#define IMAGE_LOCATION   "/tmp/image"
#define STAGE2_LOCATION  "/tmp/stage2"

/* user-definable (in Makefile): DISABLE_NETWORK, DISABLE_DISK, DISABLE_CDROM, DISABLE_PCMCIA */


/* some factorizing for disabling more features */

#ifdef DISABLE_DISK
#ifdef DISABLE_CDROM
#define DISABLE_MEDIAS
#endif
#endif


#endif