%_defconfig: save the path to the defconfig
authorArnout Vandecappelle <arnout@mind.be>
Mon, 2 Feb 2015 15:34:46 +0000 (16:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Feb 2015 20:42:47 +0000 (21:42 +0100)
commit32babbf9744d09e3612150971b7121033b4b9925
tree40fd9b409876f98a08646c55353e7b3dda881107
parentf4f62a3c16f8591b14eedc3564599c6c807820b4
%_defconfig: save the path to the defconfig

We have the BR2_DEFCONFIG feature that saves the path to the defconfig
file that was specified on the command line, so that a later
savedefconfig would immediately save to the right location. This wasn't
done for the defconfigs in the configs/ directory, however, to avoid
accidentally overwriting them.

Now we decided that it would be more useful to overwrite the defconfigs
in the configs/ directory after all. To do this, we pass the path to
that defconfig in the environment.

Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile