On 04/04/2013 07:53 PM, Viresh Kumar wrote:
On 5 April 2013 07:58, John Stultz <john.stu...@linaro.org> wrote:
On 04/04/2013 06:34 PM, Viresh Kumar wrote:
Everytime i run merge_config.sh even with O=../ option, i have to run
O=../ ?
Hmm.. when we compile kernel we can give O=../output-folder as an
parameter and so image/binaries will be created in ../output-folder..
I believe the same is true for merge_config.sh also, isn't it?
make mrproper to clean other stuff otherwise compilation doesn't succeed
and complains to run make mrproper.
Make mrproper gave this:
viresh@blr-linut-001:$ make mrproper
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config
CLEAN .config
Sorry, still not sure I understand the problem.
Could you send me the config fragments and commands you're using cause
compilation problems?
Try this:
make mrproper
ARCH=arm O=../btc2 scripts/kconfig/merge_config.sh
linaro/configs/linaro-base.conf linaro/configs/vexpress.conf
linaro/configs/ubuntu-minimal.conf
make mrproper
You will still see some files being cleaned up by last make mrproper.
Try:
$ make mrproper
$ ARCH=arm ./scripts/kconfig/merge_config.sh -O ../btc2
linaro/configs/linaro-base.conf linaro/configs/vexpress.conf
linaro/configs/ubuntu-minimal.conf
$ make mrproper
I think the problem is the script takes a "-O <dir>" argument and
doesn't use a "O=<dir>" environment prefix.
That said, I see the same behavior you describe with:
$make mrproper
$O=../tmp/ make defconfig
$make mrproper
Where as it seems to work as expected with:
$make mrproper
$make O=../tmp/ defconfig
$make mrproper
Let me know if you are still seeing anything differently from me, and
we'll try to sort it out.
We do still create a tmp file in the build directory, but we clean that
up ourselves. So it might be worth moving that tmp file to the output
directory as well (since one might be building in a ro source directory?).
thanks
-john
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev