summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-qoriq_4.9.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-qoriq_4.9.bb b/recipes-kernel/linux/linux-qoriq_4.9.bb
index 7229b014..f6d29429 100644
--- a/recipes-kernel/linux/linux-qoriq_4.9.bb
+++ b/recipes-kernel/linux/linux-qoriq_4.9.bb
@@ -1,4 +1,4 @@
1inherit kernel qoriq_build_64bit_kernel 1inherit kernel qoriq_build_64bit_kernel siteinfo
2inherit fsl-kernel-localversion 2inherit fsl-kernel-localversion
3 3
4SUMMARY = "Linux Kernel for Freescale QorIQ platforms" 4SUMMARY = "Linux Kernel for Freescale QorIQ platforms"
@@ -36,6 +36,12 @@ do_merge_delta_config() {
36 # create .config with make config 36 # create .config with make config
37 oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG} 37 oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG}
38 38
39 # check if bigendian is enabled
40 if [ "${SITEINFO_ENDIANNESS}" = "be" ]; then
41 echo "CONFIG_CPU_BIG_ENDIAN=y" >> .config
42 echo "CONFIG_MTD_CFI_BE_BYTE_SWAP=y" >> .config
43 fi
44
39 # add config fragments 45 # add config fragments
40 for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do 46 for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
41 if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then 47 if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then