]> git.baikalelectronics.ru Git - uboot.git/commit
build/DTC: fix sed usage in DTC command
authorRoger Pau Monne <royger@FreeBSD.org>
Sat, 13 Feb 2021 10:06:32 +0000 (11:06 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
commit51a6cb4cb862c243d34d8aa511d3d88af91ba859
tree5611ed51cb4c935b08c63f5a5896bbcde89ef8e0
parent7a63de04bb9e5cb34cdea222061a4dd6ad2adfa4
build/DTC: fix sed usage in DTC command

Current sed usage in the DTC command relies on GNU sed specific -i
option which has a slightly different syntax for BSD sed and always
expects an extension to be provided in order to create a backup file.

Instead drop the cat concatenation done before the sed call and use
sed itself to edit and concatenate the files.

No functional change intended.

Signed-off-by: Roger Pau Monné <royger@FreeBSD.org>
scripts/Makefile.lib