diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 11:26:05 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-05-03 15:14:25 +0200 |
commit | 2d7bd54c4352fd4183c06ed255a1e8354719f081 (patch) | |
tree | 9c19eb1f20cdc0af9ea1f08930b453ef53abc603 /recipes/klibc/klibc_1.5.18.inc | |
parent | 8179a7229c9972a0bc46f1fd75de502cdcbfb116 (diff) |
klibc: add 1.5.18
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/klibc/klibc_1.5.18.inc')
-rw-r--r-- | recipes/klibc/klibc_1.5.18.inc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes/klibc/klibc_1.5.18.inc b/recipes/klibc/klibc_1.5.18.inc new file mode 100644 index 0000000000..760509251d --- /dev/null +++ b/recipes/klibc/klibc_1.5.18.inc @@ -0,0 +1,44 @@ +require klibc-common.inc + +SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch;patch=1 \ + file://modprobe.patch;patch=1 \ + file://dash_readopt.patch;patch=1 \ + file://wc.patch;patch=1 \ + file://staging.patch;patch=1 \ + file://klibc_kexecsyscall.patch;patch=1 \ + file://mntproc-definitions.patch;patch=1 \ + file://isystem.patch;patch=1 \ + " + +DEFAULT_PREFERENCE = "-1" + +KLIBC_FETCHDIR = "1.5" + +KLIBC_ARCH_x86 = 'x86' +KLIBC_ARCH_i486 = 'x86' +KLIBC_ARCH_i586 = 'x86' +KLIBC_ARCH_i686 = 'x86' +KLIBC_ARCH_pentium = 'x86' + +EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ + 'CROSS_COMPILE=${TARGET_PREFIX}' \ + 'KLIBCKERNELSRC=${STAGING_KERNEL_DIR}' \ + " + +do_configure () { + ln -sf ${STAGING_KERNEL_DIR} linux + cd ${S}/usr/klibc/arch/ + ln -s i386 x86 + cd ${S}/usr/include/arch/ + ln -s i386 x86 + cd ${S} +} + +SRC_URI[md5sum] = "5c8b6577b9acb3809cace6e118cdd55b" +SRC_URI[sha256sum] = "e4104f8b34a5f354222bd4622f50b58c6218bf70614450d68539cbef666b6446" + +do_install_append() { + install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/dmesg ${D}${base_bindir} + install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/sync ${D}${base_bindir} + install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/ls ${D}${base_bindir} +} |