# # Makefile.in for the SIS MODULE driver, include by other Makefile # # 1. assign your module directory to "dir" dir = edid/ # 2. assign your module name(s) to "mods", use "+=" please mods += edid.o # 3. assign your code to "MOD_NAME-objs" edid-objs += edid.o # 4. assign general C flag for this module #EXTRA_CFLAGS += -DYOUR_C_FLAG # 6. add module dir to the front of all code files ifneq ($(CONFIG_S2DRV),) edid-objs := $(patsubst %, $(dir)%, $(edid-objs)) endif