forked from darwin-on-arm/DeviceTrees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (24 loc) · 806 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
CPPFLAGS = -E -P -nostdinc -IInclude -undef -x assembler-with-cpp
CPP = clang
DTC = dtc
DEVICETREES = RealView.devicetree Nokia_RX51.devicetree \
TI_BeagleXM.devicetree USBarmory_MkI.devicetree
all: $(DEVICETREES)
RealView.devicetree: ARM/RealView-PB-A8/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o [email protected]
$(DTC) -O dtb -o $@ [email protected]
rm -f [email protected]
Nokia_RX51.devicetree: TexasInstruments/OMAP3/Nokia_RX51/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o [email protected]
$(DTC) -O dtb -o $@ [email protected]
rm -f [email protected]
TI_BeagleXM.devicetree: TexasInstruments/OMAP3/BeagleBoardXM/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o [email protected]
$(DTC) -O dtb -o $@ [email protected]
rm -f [email protected]
USBarmory_MkI.devicetree: Freescale/iMX53/USBarmory_MkI/devicetree.dtsi
$(CPP) $(CPPFLAGS) $< -o [email protected]
$(DTC) -O dtb -o $@ [email protected]
rm -f [email protected]
clean:
rm -f $(DEVICETREES)