Makefile (236B)
1# 2# NOTE: only compilable with x86 cross compile tools 3# 4include ../config-host.mak 5 6DEFINES= 7 8TARGETS= 9 10all: $(TARGETS) 11 12%.o: %.S 13 $(CC) $(DEFINES) -c -o $@ $< 14 15%.dtb: %.dts 16 dtc -I dts -O dtb -o $@ $< 17 18clean: 19 rm -f $(TARGETS) *.o *~