KERNSRC ?= /lib/modules/$(shell uname -r)/build all: GPIO-1.dtbo $(MAKE) -C RDA5807M all $(MAKE) -C TSS463AA all $(MAKE) -C MT3329 all GPIO-1.dtbo: GPIO-1.dts #cpp -nostdinc -I $(KERNSRC)/arch/arm/boot/dts -I $(KERNSRC)/arch/arm/boot/dts/include -undef -x assembler-with-cpp $< >a.tmp #$(KERNSRC)/scripts/dtc/dtc -O dtb -b 0 -o $@ a.tmp ./dtc/dtc -O dtb -b 0 -o $@ -@ $< clean: $(MAKE) -C RDA5807M clean $(MAKE) -C TSS463AA clean $(MAKE) -C MT3329 clean distclean: $(MAKE) -C RDA5807M distclean $(MAKE) -C TSS463AA distclean $(MAKE) -C MT3329 distclean