linux-libc-headers: Fix bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1370 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
1b3bbba4ec
commit
2c5a437df1
|
@ -2,7 +2,7 @@ require linux-libc-headers.inc
|
|||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS = "unifdef-native"
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
|
||||
file://arm-syscall-define.patch;patch=1"
|
||||
|
@ -52,7 +52,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}
|
||||
|
|
|
@ -2,7 +2,7 @@ require linux-libc-headers.inc
|
|||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS = "unifdef-native"
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2"
|
||||
|
||||
|
@ -52,7 +52,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}
|
||||
|
|
Loading…
Reference in New Issue