blob: 5ccaa69ae86ca729a7208f1e29739eafc4dc0083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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 $@ $<
|