diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-14 09:18:46 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-14 10:07:26 -0200 |
commit | 2d9145294ada039a41538289a1173b2b7898c289 (patch) | |
tree | c85ddc7334dac0ad1a0baabff5e931bc6f2cf1fd /recipes-kernel/linux/linux-imx.inc | |
parent | f50ec7f0b3b3f9ea4b5eddf61cd491088c374263 (diff) | |
download | meta-fsl-arm-2d9145294ada039a41538289a1173b2b7898c289.tar.gz |
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/linux-imx.inc')
-rw-r--r-- | recipes-kernel/linux/linux-imx.inc | 14 |
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() { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | sysroot_stage_all_append() { | 59 | sysroot_stage_all_append() { |
60 | # denzil does not have KERNEL_SRC_PATH so we default to /kernel | ||
61 | destdir=${KERNEL_SRC_PATH} | ||
62 | if [ -z "$destdir" ]; then | ||
63 | destdir=/kernel | ||
64 | fi | ||
65 | |||
66 | # Copy native binaries need for imx-test build onto sysroot | 60 | # Copy native binaries need for imx-test build onto sysroot |
67 | mkdir -p ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/basic \ | 61 | mkdir -p ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/basic \ |
68 | ${SYSROOT_DESTDIR}/usr/src/kernel/scripts/mod | 62 | ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/mod |
69 | cp ${S}/scripts/basic/fixdep ${SYSROOT_DESTDIR}$destdir/scripts/basic | 63 | cp ${S}/scripts/basic/fixdep ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/basic |
70 | cp ${S}/scripts/mod/modpost ${SYSROOT_DESTDIR}$destdir/scripts/mod | 64 | cp ${S}/scripts/mod/modpost ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}/scripts/mod |
71 | } | 65 | } |