aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-12-14 09:18:46 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2012-12-14 09:18:46 -0200
commit0542a34d67401ef8e3bec8f800b8f638f8369f42 (patch)
treec85ddc7334dac0ad1a0baabff5e931bc6f2cf1fd /recipes-kernel/linux
parentf50ec7f0b3b3f9ea4b5eddf61cd491088c374263 (diff)
downloadmeta-fsl-arm-0542a34d67401ef8e3bec8f800b8f638f8369f42.tar.gz
meta-fsl-arm-0542a34d67401ef8e3bec8f800b8f638f8369f42.tar.bz2
meta-fsl-arm-0542a34d67401ef8e3bec8f800b8f638f8369f42.zip
linux-imx.inc: Drop support for denzil
The code can be simplified if we drop denzil support making it easy to understand. denzil doesn't provide KERNEL_SRC_PATH so we had provided a workaround for it. This patch removes the workaround. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r--recipes-kernel/linux/linux-imx.inc14
1 files changed, 4 insertions, 10 deletions
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index e472111..5fbdfe0 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -57,15 +57,9 @@ do_install_append() {
}
sysroot_stage_all_append() {
- # denzil does not have KERNEL_SRC_PATH so we default to /kernel
- destdir=${KERNEL_SRC_PATH}
- if [ -z "$destdir" ]; then
- destdir=/kernel
- fi
-
# Copy native binaries need for imx-test build onto sysroot
- mkdir -p ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/basic \
- ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/mod
- cp ${S}/scripts/basic/fixdep ${SYSROOT_DESTDIR}$destdir/scripts/basic
- cp ${S}/scripts/mod/modpost ${SYSROOT_DESTDIR}$destdir/scripts/mod
+ mkdir -p ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/basic \
+ ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/mod
+ cp ${S}/scripts/basic/fixdep ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/basic
+ cp ${S}/scripts/mod/modpost ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/mod
}