Tool/software: Linux
My set up file is
# if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
export TOOLCHAIN_PATH=/home/suneel/wl8-build/build-utilites/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/
# if DEFAULT path to root filesystem is set ./fs folder will be used.
export ROOTFS=/home/suneel/Downloads/fsl-arm-yocto-bsp/build-fb/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.1.15-r0/linux_Standalone_builded/build/fs
#if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
export KERNEL_PATH=/home/suneel/Downloads/fsl-arm-yocto-bsp/build-fb/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.1.15-r0/linux_Standalone_builded/build/kernel
# if KERNEL_VARIANT below is set the build script will look for kernel specific
# patches under the patches directory:
# - patches under the pathces/driver_patches/$KERNEL_VARIANT directory would be
# applied during "modules" build.
# - patches under the patches/kernel_patches/$/$KERNEL_VARIANT directory would
# be applied to the kernel pointed by KERNEL_PATH in case the "patch_kernel"
# command is used.
# Note: the kernel is not built automatically after the patches are applied
export KERNEL_VARIANT=4.1.15-r0
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm
[ "$TOOLCHAIN_PATH" != "DEFAULT" ] && export PATH=$TOOLCHAIN_PATH:$PATH
I am getting the following error.
"Makefile:42: recipe for target 'clean' failed
make: *** [clean] Error 1
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
\--
Makefile:42: recipe for target 'defconfig-wl18xx' failed
make: *** [defconfig-wl18xx] Error 1
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
I have checked .config files, they are not enabling CFG80211 and MAC80211 . My kernel Version is 4.1.15. Help is much appreciated .
Thanks
Suneel