diff options
Diffstat (limited to 'linux-libc-headers')
-rw-r--r-- | linux-libc-headers/linux-libc-headers_2.6.8.1.oe | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linux-libc-headers/linux-libc-headers_2.6.8.1.oe b/linux-libc-headers/linux-libc-headers_2.6.8.1.oe index 37e4d66063..415f5feb66 100644 --- a/linux-libc-headers/linux-libc-headers_2.6.8.1.oe +++ b/linux-libc-headers/linux-libc-headers_2.6.8.1.oe @@ -2,7 +2,7 @@ SECTION = "devel" DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use." MAINTAINER = "Chris Larson <kergoth@handhelds.org>" INHIBIT_DEFAULT_DEPS = "1" -PR = "r3" +PR = "r4" # NOTE: no need to package these headers, since the c library includes them. PACKAGES = "" @@ -51,6 +51,9 @@ do_stage () { cp -pfLR include/linux ${CROSS_DIR}/${TARGET_SYS}/include/ cp -pfLR include/asm ${CROSS_DIR}/${TARGET_SYS}/include/ - ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${STAGING_INCDIR}/linux/wireless.h - ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${CROSS_DIR}/${TARGET_SYS}/include/linux/wireless.h + case `cat ${STAGING_KERNEL_DIR}/kernel-abiversion` in + 2.4.*) + ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${STAGING_INCDIR}/linux/wireless.h + ln -sf ${STAGING_KERNEL_DIR}/include/linux/wireless.h ${CROSS_DIR}/${TARGET_SYS}/include/linux/wireless.h + esac } |