1 ### Configuration variables for makefiles ###
3 # NOTE: These variables can also be stored in a file /etc/lilo.defines, e.g.
4 # -DIGNORECASE -DONE_SHOT
6 # NOTE: If the file /etc/lilo.defines exists, variables configured in this
9 # ATARAID Detect 'dmraid' drivers (linux/drivers/raid/dm.c).
10 # AUTOAUTO Enable automatic generation of change rules for MS partitions;
11 # issue warning if "CHANGE AUTOMATIC" is assumed
12 # * BDATA Enable real mode gathering of system information for '-T'
13 # BEEP Beep after displaying "LILO".
14 # BOOT_FILE Append "BOOT_FILE=<path>" to the kernel command line.
15 # BUG_SI_EBDA=n Compensate for BIOS's (notably early Silicon Image S-ATA)
16 # that use the EBDA, but don't properly allocate the space.
17 # (n=1..64) specifies the extra EBDA in kilobytes (default 20).
18 # COHERENT Make boot loaders (chain.b & mbr.b) compatible with Coherent
19 # by writing the boot device code to the memory copy of the PT
20 # * DEVMAPPER Device Mapper (aka LVM2) support (2.6 kernels only)
21 # * DSECS=n Set the number of Descriptor Sectors (n=1..12). Each sector
22 # of the descriptor table holds 9..10 descriptors.
23 # * EVMS Enables support for booting from EVMS volumes. Requires a
24 # 2.4 or 2.6 kernel patched to EVMS version 1.1.0 or later.
25 # HP_TTRC Insert 150ms delay for HP TTRC card. Affects 'second.S'
26 # * IGNORECASE Image selection is case-insensitive. Passwords are still
28 # INITRDLOW Always load initial ramdisk images below address 15M,
29 # ignoring any 'large-memory' option in the config file.
30 # * LVM Enables support for booting from LVM partitions. Requires a
31 # 2.4 kernel (>= 2.4.7) or a 2.6 kernel.
32 # * MDPRAID Enable automatic marking of volumes of full volume raid
33 # as 'inaccessible. Add "noraid" keyword to suppress.
34 # NO1STDIAG Don't show diagnostic on read errors in the first stage
35 # boot. (not recommended)
36 # NODRAIN Don't drain keyboard buffer after booting.
37 # NOINSTDEF Don't install a new boot sector if INSTALL is not specified.
38 # * NOKEYBOARD Enable the 'nokbdefault' keyword, and test for booting on
39 # a system without a keyboard; alters default descriptor
40 # to be booted. Enable the 'nokbdisable' keyword also.
41 # NOSERIAL Don't assemble serial line support in the boot loader.
42 # NOVGA Don't write to Monochrome or VGA displays.
43 # OLD_DIRSTR Use old locations of config and boot files: (/etc/lilo)
44 # * ONE_SHOT Disable the command-line and password timeout if any key is
45 # hit at the boot prompt.
46 # * PASS160 Use 160-bit password hash (Secure Hash Standard, see
47 # FIPS PUB 180-1) instead of 64-bit CRC-32 hash
48 # READAHEAD Enable read-ahead on EDD disks which support the function.
49 # Note: no BIOS has yet been seen which supports this
50 # EDD revision 1.1 function.
51 # READONLY Don't write to disk while booting, e.g. don't overwrite the
52 # default command line in the map file after reading it.
53 # * REISERFS Compile support for parts of LILO on ReiserFS.
54 # Requires header files for kernel 2.4.0test8 or later.
55 # * REWRITE_TABLE Enable rewriting the partition table at boot time.
56 # * SOLO_CHAIN Assemble all chain-loader functions into 'chain.b',
57 # eliminating the need for 'os2_d.b'.
58 # SUSPEND= Modify 'vmdefault' action if this partition type on C: drive
59 # is marked active; (Dell suspend partition is -DSUSPEND=0x84).
60 # USE_TMPDIR Create temporary devices in $TMPDIR if set
61 # * VERSION Prints version string at LILO boot prompt.
62 # * VIRTUAL Enable 'vmdefault', 'vmdisable', 'vmwarn' keywords; feature
63 # requested by VMware users (new, experimental)
64 # XL_SECS=n Support for extra large (non-standard) floppies.
66 CONFIG=-DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT \
67 -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL \
70 # set the following if you wish LILO.COM to be installed
73 # select place for man pages
74 MAN_DIR=/usr/share/man
76 # set the compiler optimization level
79 ### End of configuration variables for makefiles ###
83 # Do not modify anything below this point
92 PCONFIG=$(KVER) $(HDM) $(LILO) `( if [ -r $$DESTDIR/etc/lilo.defines ]; then \
93 cat $$DESTDIR/etc/lilo.defines; else echo $(CONFIG); fi ) | \
95 LILO=-DLILO=0xbb920890
96 KVER=`if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi`
97 HDM=`if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi`
98 DEVMAPPER=`if [ -f /usr/include/libdevmapper.h ]; then echo "-ldevmapper"; fi`