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