X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=dts%2FMakefile;h=edaa65ebb4299d064e54254da2f2a8ea4480b72e;hb=cc4f427bbd7192b602310ee27ee34e3bfe81608b;hp=35303f7c5a8fdab0e5391c09d3a2bd9acb232c56;hpb=6697d558623d2a3d28c9fc5a0b104ade39c51832;p=karo-tx-uboot.git diff --git a/dts/Makefile b/dts/Makefile index 35303f7c5a..edaa65ebb4 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -35,13 +35,8 @@ all: $(obj).depend $(LIB) DT_BIN := $(obj)dt.dtb $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts - rc=$$( \ - cat $< | $(CPP) -P $(DTS_CPPFLAGS) - | \ - { { $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} - 2>&1 ; \ - echo $$? >&3 ; } | \ - grep -v '^DTC: dts->dtb on file' ; \ - } 3>&1 1>&2 ) ; \ - exit $$rc + $(CPP) -P $(DTS_CPPFLAGS) $< -o $(DT_BIN).dts.tmp + $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} $(DT_BIN).dts.tmp process_lds = \ $(1) | sed -r -n 's/^OUTPUT_$(2)[ ("]*([^")]*).*/\1/p'