DTC := dtc DTCFLAGS += -I dts DTCFLAGS += -O dtb CPP := cpp CPPFLAGS += -nostdinc CPPFLAGS += -I include CPPFLAGS += -undef CPPFLAGS += -x assembler-with-cpp all: am335x-boneblack-uboot.dtb # all: am335x-boneblack-uboot-univ.dtb %.dts.pre: src/%.dts $(CPP) $(CPPFLAGS) $< $@ %.dtb: %.dts.pre $(DTC) $(DTCFLAGS) -o $@ $< %.dtb: %.dts $(DTC) $(DTCFLAGS) -o $@ $<