1 PART_NUMBER = bbb-gpio-keypad
4 INCLUDE_PATH = /home/debian/bb.org-overlays/include
6 compile: $(PART_NUMBER)-$(VERSION).dtbo
9 cp $(PART_NUMBER)-$(VERSION).dtbo /lib/firmware
12 rm -f *.dtbo *.dts.tmp *~
15 cpp -nostdinc -undef -D__DTS__ -I$(INCLUDE_PATH) -x assembler-with-cpp -o $<.tmp $<
16 dtc -Wno-unit_address_vs_reg -O dtb -o $@ -b 0 -@ $<.tmp