]>
Commit | Line | Data |
---|---|---|
b422e333 MG |
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 | CC=$(CROSS_PATH)/$(CROSS_COMPILE)gcc | |
6 | LD=$(CROSS_PATH)/$(CROSS_COMPILE)ld | |
7 | AR=$(CROSS_PATH)/$(CROSS_COMPILE)ar | |
8 | ||
9 | obj-m := debounce.o | |
10 | ||
11 | all: | |
12 | $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules | |
13 | ||
14 | clean: | |
15 | $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean |