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-univ.dtb %.dts.pre: %.dts $(CPP) $(CPPFLAGS) $< $@ %.dtb: src/%.dts.pre $(DTC) $(DTCFLAGS) -o $@ $<