diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-12-23 21:03:29 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:00:58 +0800 |
commit | 430208396e6b4bd2d3d91a08397342542bff51f7 (patch) | |
tree | 516485c21393f04eee09490ebc95e7c102382b9b | |
parent | 486c7c091635b8bd7134fb796694bf472c3feed0 (diff) | |
download | meta-fsl-ppc-430208396e6b4bd2d3d91a08397342542bff51f7.tar.gz |
linux-qoriq: inherit kernel-arch
This avoids using hardcoded 'powerpc'.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
-rw-r--r-- | recipes-kernel/linux/linux-qoriq.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index a4c28c7..d28e75d 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | inherit kernel qoriq_build_64bit_kernel | 1 | inherit kernel kernel-arch qoriq_build_64bit_kernel |
2 | require recipes-kernel/linux/linux-dtb.inc | 2 | require recipes-kernel/linux/linux-dtb.inc |
3 | 3 | ||
4 | DESCRIPTION = "Linux kernel for Freescale platforms" | 4 | DESCRIPTION = "Linux kernel for Freescale platforms" |
@@ -26,7 +26,7 @@ do_configure_prepend() { | |||
26 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do | 26 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do |
27 | if [ -f "${deltacfg}" ]; then | 27 | if [ -f "${deltacfg}" ]; then |
28 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} | 28 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} |
29 | elif [ -f "${S}/arch/powerpc/configs/${deltacfg}" ]; then | 29 | elif [ -f "${S}/arch/${ARCH}/configs/${deltacfg}" ]; then |
30 | ${S}/scripts/kconfig/merge_config.sh -m .config \ | 30 | ${S}/scripts/kconfig/merge_config.sh -m .config \ |
31 | ${S}/arch/powerpc/configs/${deltacfg} | 31 | ${S}/arch/powerpc/configs/${deltacfg} |
32 | fi | 32 | fi |