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