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,14 +2,12 @@ require linux-libc-headers.inc
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS = "unifdef-native"
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2"
|
||||
|
||||
S = "${WORKDIR}/linux-${PV}"
|
||||
|
||||
export TARGET_ARCH
|
||||
|
||||
set_arch() {
|
||||
case ${TARGET_ARCH} in
|
||||
alpha*) ARCH=alpha ;;
|
||||
@@ -39,7 +37,7 @@ do_compile () {
|
||||
|
||||
do_install() {
|
||||
set_arch
|
||||
oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=${ARCH}
|
||||
oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=$ARCH
|
||||
}
|
||||
|
||||
do_install_append_arm() {
|
||||
@@ -53,7 +51,7 @@ do_stage () {
|
||||
rm -rf ${STAGE_TEMP}
|
||||
mkdir -p ${STAGE_TEMP}
|
||||
oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH}
|
||||
if [ "${ARCH}" == "arm" ]; then
|
||||
if [ "$ARCH" == "arm" ]; then
|
||||
cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm
|
||||
fi
|
||||
install -d ${STAGING_INCDIR}
|
||||
|
||||
Reference in New Issue
Block a user