linux: handle read-only dts files
authorHollis Blanchard <hollis_blanchard@mentor.com>
Wed, 12 Aug 2015 00:11:49 +0000 (17:11 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 19 Jan 2016 20:46:58 +0000 (21:46 +0100)
commit5bbbc5b7446933dcb1a08a20d5e58dc527b3e4a7
treef7b4c1b357024373e0a375fd10e91d4187383476
parentfd999c8a37487c13e05659f255c1c25850846e4b
linux: handle read-only dts files

Some fine version control systems make all files read-only. The custom DTS file
may therefore be read-only, and that permission is preserved when copying into
the Linux build directory. A subsequent rebuild tries to 'cp' again, which
fails with a "Permission denied" error unless the -f option is used.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Acked-by: Nikolay Dimitrov <picmaster@mail.bg>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/linux.mk