summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/config-stage1.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-12-14 23:47:36 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-12-14 23:47:36 +0000
commit752c59eb0ab37ca75bb410052aaf40514818cd54 (patch)
treef083ed8b39dedee72a7eadaa4f7631f6b11fc0e7 /mdk-stage1/config-stage1.h
parent4cfd9a056d6e652efb751a6a2ea56c700886ce51 (diff)
downloaddrakx-backup-do-not-use-752c59eb0ab37ca75bb410052aaf40514818cd54.tar
drakx-backup-do-not-use-752c59eb0ab37ca75bb410052aaf40514818cd54.tar.gz
drakx-backup-do-not-use-752c59eb0ab37ca75bb410052aaf40514818cd54.tar.bz2
drakx-backup-do-not-use-752c59eb0ab37ca75bb410052aaf40514818cd54.tar.xz
drakx-backup-do-not-use-752c59eb0ab37ca75bb410052aaf40514818cd54.zip
- do progressbar since it seems nobody can live without it
- write real separation between cdrom, disk, and network code; have multiple targets for that issue - begin network code: network interface is up and runing (static IP only), network is configured
Diffstat (limited to 'mdk-stage1/config-stage1.h')
-rw-r--r--mdk-stage1/config-stage1.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h
new file mode 100644
index 000000000..d54b80ff1
--- /dev/null
+++ b/mdk-stage1/config-stage1.h
@@ -0,0 +1,33 @@
+/*
+ * 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_
+
+/* If we have more than that amount of memory, we assume we can load the second stage as a ramdisk */
+#define MEM_LIMIT_RAMDISK 52 * 1024
+
+/* 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