multimedia/device/mpp/extdrv/sensor_i2c/Makefile

16 lines
293 B
Makefile

ifeq ($(PARAM_FILE), )
PARAM_FILE:=../../Makefile.param
include $(PARAM_FILE)
endif
obj-m := sensor_i2c.o
hi_sensor_i2c-y := sensor_i2c.o
EXTRA_CFLAGS += -I$(REL_INC)
EXTRA_CFLAGS += $(DRV_CFLAGS)
all:
make -C $(LINUX_ROOT) M=$(PWD) modules
clean:
@make -C $(LINUX_ROOT) M=$(PWD) clean