I'm using the tar image "buildroot-2018.02.tar.gz" to generate the linux image (kernel & fs) for my embedded system. To be sure of the minimum configuration I need to recreate the project (later, on an other computer...), I work out of BR tree as defined in BR UM §8.5.
I've managed to correctly configure BR and linux kernel and I have created both configuration files : - myProc_defconfig - myProc_linux_defconfig
I'm trying to create an image for my coworkers to recreate the project easily. For now, I have the following tree :
/ : Git root /README : This very file /make_buildroot_env.sh : Script to set up the development environment /myProc_kernel/ : Development environment prerequisite /myProc_kernel/configs/ : Contains both BR & Linux configuration files /myProc_kernel/fs_overlay/ : Filesystem overlay, contains all applicative files /myProc_kernel/tools/ : Scripts and data used by BR /myProc_kernel/tools/data : All data files used by scripts
The idea is to create a script which will untar buildroot in a different folder (system is build out of tree as defined in ) and configure it with the defconfig files.
The script begins as follow, launch from my "Git root /" defined hereabove :
tar -xaf ./MyProc_kernel/tools/data/buildroot-2018.02.tar.gz cd buildroot-2018.02 make defconfig BR2_DEFCONFIG=../myProc_kernel/configs/myProc_defconfig make O=../MyProc_kernel
I have here two problems :
- I've got an error on the last call :
Makefile:862: *** Please configure Buildroot first (e.g. "make menuconfig"). Stop.
- If I look at the
.configfile created in the BR folder, it seems to have taken only few parameters from
My questions are :
Why does BR always complain with the error 1 ? Configuration shall be made with the line pointing to the defconfig file ?
What am I missing to recreate my development environment ?