config: make it possible to specify which config file to use for 'make defconfig'
authorArnout Vandecappelle <arnout@mind.be>
Sat, 28 Apr 2012 07:14:50 +0000 (07:14 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 May 2012 21:38:53 +0000 (23:38 +0200)
commit33f454bbef77638a29ec24807e30740323e15b3e
tree402c9aeb09262fb4f6a4ab83a2b526bd80fed78c
parent2f764a26334fb07292545265e2ae9e5858794677
config: make it possible to specify which config file to use for 'make defconfig'

So that this works:

 % make defconfig BR2_DEFCONFIG=~/buildroot-defconfig

Right now we have to do:

 % cp ~/buildroot-defconfig configs/buildroot_defconfig
 % make buildroot_defconfig

That would dirty the buildroot tree and requires it to be writable.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile