diff options
| author | Andrea Adami <andrea.adami@gmail.com> | 2012-05-13 23:01:00 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-05-14 16:02:01 +0200 |
| commit | 2490c44e51fcd83ea9f5ebd0f195e58499c02224 (patch) | |
| tree | 0312a287c1241c9d2ba533c833674a97b4d013a2 /meta-initramfs/recipes-devtools/klibc/klibc.inc | |
| parent | fbfa12572611748c87c8d1f63aab5ae355b86571 (diff) | |
| download | meta-openembedded-2490c44e51fcd83ea9f5ebd0f195e58499c02224.tar.gz | |
klibc_1.5.26: now build against linux-libc-headers
* add install-patch creating symlinks as done by debian
* extra add the mtd headers
* refresh patches (split out prefix.patch)
* recipe is now not machine-specific anymore
* bump INC_PR
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc.inc')
| -rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 195f089e4d..f89af9de65 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | DEPENDS = "virtual/kernel perl-native" | 1 | DEPENDS = "linux-libc-headers perl-native" |
| 2 | SECTION = "libs" | 2 | SECTION = "libs" |
| 3 | DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \ | 3 | DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \ |
| 4 | use with initramfs. It is deliberately written for small size, \ | 4 | use with initramfs. It is deliberately written for small size, \ |
| @@ -6,13 +6,11 @@ minimal entaglement, and portability, not speed." | |||
| 6 | LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" | 6 | LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" |
| 7 | LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b" | 7 | LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b" |
| 8 | 8 | ||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 10 | |||
| 11 | # Prevents do_package failures with: | 9 | # Prevents do_package failures with: |
| 12 | # debugsources.list: No such file or directory: | 10 | # debugsources.list: No such file or directory: |
| 13 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 11 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 14 | 12 | ||
| 15 | INC_PR = "r0" | 13 | INC_PR = "r1" |
| 16 | 14 | ||
| 17 | KLIBC_ARCH = '${TARGET_ARCH}' | 15 | KLIBC_ARCH = '${TARGET_ARCH}' |
| 18 | KLIBC_ARCH_armeb = 'arm' | 16 | KLIBC_ARCH_armeb = 'arm' |
| @@ -30,9 +28,11 @@ SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch" | |||
| 30 | SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch" | 28 | SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch" |
| 31 | 29 | ||
| 32 | SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \ | 30 | SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \ |
| 31 | file://klibc-linux-libc-dev.patch \ | ||
| 33 | file://modprobe.patch \ | 32 | file://modprobe.patch \ |
| 34 | file://dash_readopt.patch \ | 33 | file://dash_readopt.patch \ |
| 35 | file://wc.patch \ | 34 | file://wc.patch \ |
| 35 | file://prefix.patch \ | ||
| 36 | file://staging.patch \ | 36 | file://staging.patch \ |
| 37 | file://kernel_3.2__aligned_u64.patch \ | 37 | file://kernel_3.2__aligned_u64.patch \ |
| 38 | " | 38 | " |
| @@ -41,9 +41,10 @@ S = "${WORKDIR}/git" | |||
| 41 | 41 | ||
| 42 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ | 42 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ |
| 43 | 'CROSS_COMPILE=${TARGET_PREFIX}' \ | 43 | 'CROSS_COMPILE=${TARGET_PREFIX}' \ |
| 44 | 'KLIBCKERNELSRC=${STAGING_KERNEL_DIR}' \ | 44 | 'KLIBCKERNELSRC=${STAGING_DIR_TARGET}/${exec_prefix}' \ |
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | do_configure () { | 47 | do_configure () { |
| 48 | ln -sf ${STAGING_KERNEL_DIR} linux | 48 | |
| 49 | ln -sf "${STAGING_DIR_TARGET}/${exec_prefix}" linux | ||
| 49 | } | 50 | } |
