Commit 4b8c08a8 authored by Walter Lozano's avatar Walter Lozano

dts: fix Makefile

Signed-off-by: Walter Lozano's avatarWalter Lozano <walter.lozano@collabora.com>
parent 4d6b697f
...@@ -1196,11 +1196,11 @@ endif ...@@ -1196,11 +1196,11 @@ endif
u-boot.bin: u-boot-fit-dtb.bin FORCE u-boot.bin: u-boot-fit-dtb.bin FORCE
$(call if_changed,copy) $(call if_changed,copy)
u-boot-dtb.bin: u-boot-nodtb.bin dts/dt.dtb FORCE u-boot-dtb.bin: dts/dt.dtb u-boot-nodtb.bin FORCE
$(call if_changed,cat) $(call if_changed,cat)
else ifeq ($(CONFIG_OF_SEPARATE),y) else ifeq ($(CONFIG_OF_SEPARATE),y)
u-boot-dtb.bin: u-boot-nodtb.bin dts/dt.dtb FORCE u-boot-dtb.bin: dts/dt.dtb u-boot-nodtb.bin FORCE
$(call if_changed,cat) $(call if_changed,cat)
u-boot.bin: u-boot-dtb.bin FORCE u-boot.bin: u-boot-dtb.bin FORCE
......
...@@ -25,14 +25,14 @@ $(obj)/dt-spl.dtb: $(DTB) $(objtree)/tools/fdtgrep $(objtree)/tools/dtoc FORCE ...@@ -25,14 +25,14 @@ $(obj)/dt-spl.dtb: $(DTB) $(objtree)/tools/fdtgrep $(objtree)/tools/dtoc FORCE
ifeq ($(CONFIG_OF_DTB_PROPS_REMOVE),y) ifeq ($(CONFIG_OF_DTB_PROPS_REMOVE),y)
$(obj)/dt.dtb: $(DTB) $(objtree)/tools/fdtgrep FORCE $(obj)/dt.dtb: $(DTB) $(objtree)/tools/fdtgrep FORCE
$(RM) $(obj)/dt.dtb $(RM) -f $(obj)/dt.dtb
$(call if_changed,fdt_rm_props) $(call if_changed,fdt_rm_props)
$(CP) $(obj)/dt.dtb $(obj)/dt-full.dtb $(CP) $(obj)/dt.dtb $(obj)/dt-full.dtb
$(DTOC) compatible -d $(obj)/dt-full.dtb -o $(obj)/../include/generated/compatible.h $(DTOC) compatible -d $(obj)/dt-full.dtb -o $(obj)/../include/generated/compatible.h
$(DTOC) shrink -d $(obj)/dt-full.dtb -o $(obj)/dt.dtb $(DTOC) shrink -d $(obj)/dt-full.dtb -o $(obj)/dt.dtb
else else
$(obj)/dt.dtb: $(DTB) FORCE $(obj)/dt.dtb: $(DTB) FORCE
$(RM) $(obj)/dt.dtb $(RM) -f $(obj)/dt.dtb
$(call if_changed,fdt_rm_props) $(call if_changed,fdt_rm_props)
$(call if_changed,shipped) $(call if_changed,shipped)
$(CP) $(obj)/dt.dtb $(obj)/dt-full.dtb $(CP) $(obj)/dt.dtb $(obj)/dt-full.dtb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment