blob: 1b91d647b692d8ff68212857eeee9762db1ed0b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
# Makefile for the kernel character device drivers.
#
#CFLAGS += -DMODVERSIONS -include $(AOSP_KERNEL)/linux/modversions.h
obj-m += imem.o
KERNEL = $(shell uname -r)
default:
@echo "For Android, run bellow before make"
@echo " source ./build/envsetup.sh"
@echo " lunch xxxxx"
make -C /lib/modules/$(KERNEL)/build M=$(PWD) modules
#make -C $(ANDROID_PRODUCT_OUT)/linux/kernel/ M=$(PWD) modules
clean:
make -C $(ANDROID_PRODUCT_OUT)/linux/kernel/gmin/ M=$(PWD) clean
|