forked from darwin-on-arm/DeviceTrees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (28 loc) · 949 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
CPPFLAGS = -E -P -nostdinc -IInclude -undef -x assembler-with-cpp
CPP = clang
DTC = dtc
DEVICETREES = HtcLeo.devicetree RealView.devicetree Nokia_RX51.devicetree \
TI_BeagleXM.devicetree USBarmory_MkI.devicetree
all: $(DEVICETREES)
HtcLeo.devicetree: ARM/QSD8250-HTC-LEO/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o $@.p
$(DTC) -O dtb -o $@ $@.p
rm -f $@.p
RealView.devicetree: ARM/RealView-PB-A8/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o $@.p
$(DTC) -O dtb -o $@ $@.p
rm -f $@.p
Nokia_RX51.devicetree: TexasInstruments/OMAP3/Nokia_RX51/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o $@.p
$(DTC) -O dtb -o $@ $@.p
rm -f $@.p
TI_BeagleXM.devicetree: TexasInstruments/OMAP3/BeagleBoardXM/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o $@.p
$(DTC) -O dtb -o $@ $@.p
rm -f $@.p
USBarmory_MkI.devicetree: Freescale/iMX53/USBarmory_MkI/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o $@.p
$(DTC) -O dtb -o $@ $@.p
rm -f $@.p
clean:
rm -f $(DEVICETREES)