]>
Commit | Line | Data |
---|---|---|
1 | KDIR=../out/target/product/generic/obj/PARTITIONS/kernel_intermediates/build | |
2 | ARCH=arm | |
3 | CROSS_COMPILE=arm-eabi- | |
4 | CROSS_PATH=$(PWD)/../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin | |
5 | ||
6 | obj-m := debounce.o | |
7 | ||
8 | all: | |
9 | PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) V=1 modules | |
10 | ||
11 | clean: | |
12 | PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean |