Makefile 236 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#
# NOTE: only compilable with x86 cross compile tools
#
include ../config-host.mak

DEFINES=

TARGETS=

all: $(TARGETS)

%.o: %.S
	$(CC) $(DEFINES) -c -o $@ $<

15 16 17
%.dtb: %.dts
	dtc -I dts -O dtb -o $@ $<

18 19
clean:
	rm -f $(TARGETS) *.o *~