linux: ensure buildroot_defconfig is writable
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 28 Jan 2014 20:11:23 +0000 (21:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 28 Jan 2014 21:56:17 +0000 (22:56 +0100)
commit0a541c8f244971a45396bfa4c371444204ed4a2c
treeb63802687d9b03e7421b00e9251afee5663bd871
parent9b659b815bbb747590f64f57066b36b938946353
linux: ensure buildroot_defconfig is writable

If $(KERNEL_SOURCE_CONFIG) is read-only (eg. because Buildroot's source
dir is), the rm of $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig will
either fail, or prompt the user, both of which we want to avoid.

Make it writable by using $(INSTALL).

Fixes: #4363
Signed-off-by: Nathan Lynch <ntl@pobox.com>
[yann.morin.1998@free.fr: use $(INSTALL) instead of cp, don't 'rm -f']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/linux.mk