diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-07-03 03:09:47 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-03 03:09:47 +0000 |
commit | 9b820e6f7a397dbf74f92b2596bd58fd2528283b (patch) | |
tree | 557abd9a84850f0cec55ac9d2637998df3f1afdb /packages/lilo-sh/files/lilo-noconfig-h.patch | |
parent | d25e4d60596edd332dbfd2fc63c5e22899ac3600 (diff) |
lilo-sh 0.21: Add lilo-sh, a port of the LILO bootloader to the sh
architecture. Required for the titan SH4 boards to boot from the
internal flash which has a translation layer to make it look like a
standard block device.
Diffstat (limited to 'packages/lilo-sh/files/lilo-noconfig-h.patch')
-rw-r--r-- | packages/lilo-sh/files/lilo-noconfig-h.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/lilo-sh/files/lilo-noconfig-h.patch b/packages/lilo-sh/files/lilo-noconfig-h.patch new file mode 100644 index 0000000000..01b6cbddd3 --- /dev/null +++ b/packages/lilo-sh/files/lilo-noconfig-h.patch @@ -0,0 +1,23 @@ +Stop it looking for config.h. It doesn't need it and trying to include this +from libc-headers results in an compile time error. + +--- lilo/lilo.h 2006/06/28 05:40:25 1.1 ++++ lilo/lilo.h 2006/06/28 05:40:36 +@@ -11,17 +11,6 @@ + #ifndef LILO_H + #define LILO_H + +-/* +- * Starting with 2.1.something, Linux kernels put VGA constants and segment +- * definitions into asm/boot.h instead of linux/config.h +- */ +- +-#ifdef HAS_BOOT_H +-#include <asm/boot.h> +-#else +-#include <linux/config.h> +-#endif +- + #define VERSION 20 /* Boot sector, map file, and chain loader format + revision. This number does not necessarily have + to correspond to the version number of the entire |