diff options
Diffstat (limited to 'recipes/klibc/klibc_1.5.17.inc')
-rw-r--r-- | recipes/klibc/klibc_1.5.17.inc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/klibc/klibc_1.5.17.inc b/recipes/klibc/klibc_1.5.17.inc new file mode 100644 index 0000000000..69d0dc7ea6 --- /dev/null +++ b/recipes/klibc/klibc_1.5.17.inc @@ -0,0 +1,45 @@ +require klibc-common.inc + +SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \ + file://modprobe.patch \ + file://dash_readopt.patch \ + file://wc.patch \ + file://staging.patch \ + file://klibc_kexecsyscall.patch \ + file://mntproc-definitions.patch \ + file://isystem.patch \ + " + +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_aquides = "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] = "5ac5b944223f63ed037350795924d1b9" +SRC_URI[sha256sum] = "a67b976db1958a66bb4887d70c45f83f63751a287b5a715c929fb69bdcd7b1ca" + +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} +} |