1 PART_NUMBER = bbb-gpio-keypad
 
   4 # To get the include files, clone the repository from
 
   5 # https://github.com/beagleboard/bb.org-overlays.git
 
   6 # parallel to this directory.
 
   8 INCLUDE_PATH = ../bb.org-overlays/include
 
  10 compile: $(PART_NUMBER)-$(VERSION).dtbo
 
  13         cp $(PART_NUMBER)-$(VERSION).dtbo /lib/firmware
 
  16         rm -f *.dtbo *.dts.tmp *~
 
  19         cpp -nostdinc -undef -D__DTS__ -I$(INCLUDE_PATH) -x assembler-with-cpp -o $<.tmp $<
 
  20         dtc -Wno-unit_address_vs_reg -O dtb -o $@ -b 0 -@ $<.tmp