1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-13 17:10:01 +00:00

linux-libc-headers: Add DEPEND on cross-linkage to handle linking of directories

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2762 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-09-19 13:00:24 +00:00
parent 93c82d7f92
commit 6d09e07cd2
3 changed files with 6 additions and 12 deletions
@@ -1,8 +1,8 @@
require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "unifdef-native"
PR = "r6"
DEPENDS += "unifdef-native"
PR = "r7"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://procinfo.h"
@@ -61,12 +61,4 @@ do_stage () {
cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/
cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/
cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/
rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux
rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm
rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic
install -d ${CROSS_DIR}/${TARGET_SYS}/include
ln -s ${STAGING_INCDIR}/linux ${CROSS_DIR}/${TARGET_SYS}/include/linux
ln -s ${STAGING_INCDIR}/asm ${CROSS_DIR}/${TARGET_SYS}/include/asm
ln -s ${STAGING_INCDIR}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic
}