savedefconfig: Remove BR2_DEFCONFIG from saved defconfig file
authorHerve Codina <Herve.CODINA@celad.com>
Thu, 4 Jun 2015 08:16:33 +0000 (10:16 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Jun 2015 11:54:26 +0000 (13:54 +0200)
commitf71a621d91ec27f175fc84012962f88b1107305f
tree522951d152d68f095612ebd193dafdb99d316c3c
parente1cf34a39538e58ecf50d091482b2304c2f7e6d8
savedefconfig: Remove BR2_DEFCONFIG from saved defconfig file

BR2_DEFCONFIG should not be present in saved defconfig file.

The use case is:
make qemu_arm_versatile
make savedefconfig BR2_DEFCONFIG=my_custom_defconfig

BR2_DEFCONFIG is set in my_custom_defconfig with an absolute path
to qemu_arm_versatile (value present in .config) and set in
my_custom_defconfig as it is different from default mentioned in
config.in (default is BR2_DEFCONFIG from environment).

On savedefconfig recipe, simply remove BR2_DEFCONFIG from generated file

[Peter: fixup typos and use SED as noted by Arnout]
Signed-off-by: Herve Codina <Herve.CODINA@celad.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile