mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 02:00:04 +00:00
linux-libc-headers: Fix ARCH references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1368 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,6 +2,7 @@ require linux-libc-headers.inc
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = " \
|
||||
${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \
|
||||
@@ -35,7 +36,7 @@ do_install() {
|
||||
set_arch
|
||||
install -d ${D}${includedir}
|
||||
cp -pfLR ${S}${includedir}/linux ${D}${includedir}/
|
||||
cp -pfLR ${S}${includedir}/asm-${ARCH} ${D}${includedir}/asm
|
||||
cp -pfLR ${S}${includedir}/asm-$ARCH ${D}${includedir}/asm
|
||||
cp -pfLR ${S}${includedir}/asm-generic ${D}${includedir}/
|
||||
}
|
||||
|
||||
@@ -44,7 +45,7 @@ do_stage () {
|
||||
install -d ${STAGING_INCDIR}
|
||||
rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic
|
||||
cp -pfLR ${S}${includedir}/linux ${STAGING_INCDIR}/
|
||||
cp -pfLR ${S}${includedir}/asm-${ARCH} ${STAGING_INCDIR}/asm
|
||||
cp -pfLR ${S}${includedir}/asm-$ARCH ${STAGING_INCDIR}/asm
|
||||
cp -pfLR ${S}${includedir}/asm-generic ${STAGING_INCDIR}/
|
||||
rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux
|
||||
rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm
|
||||
|
||||
Reference in New Issue
Block a user