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 | |
b422e333 MG |
5 | |
6 | obj-m := debounce.o | |
7 | ||
8 | all: | |
3d384066 | 9 | PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) V=1 modules |
b422e333 MG |
10 | |
11 | clean: | |
3d384066 | 12 | PATH=$(CROSS_PATH):$(PATH) CROSS_COMPILE=$(CROSS_COMPILE) ARCH=$(ARCH) $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean |