diff options
Diffstat (limited to 'driver/hdm-i2c/Makefile')
-rw-r--r-- | driver/hdm-i2c/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/driver/hdm-i2c/Makefile b/driver/hdm-i2c/Makefile new file mode 100644 index 0000000..1b96141 --- /dev/null +++ b/driver/hdm-i2c/Makefile @@ -0,0 +1,17 @@ +# Makefile +# + +SRC := $(shell pwd) + +obj-m += hdm_i2c.o +CFLAGS_hdm_i2c.o := -I$(src)/../../mostcore/files + +all: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules + +modules_install: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install + +clean: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean + |