source: trunk/package/ltq-dsl/src/Makefile @ 28723

Last change on this file since 28723 was 28723, checked in by blogic, 5 years ago

ltq-dsl: fixes driver for targets other than danube

File size: 631 bytes
Line 
1obj-m = lantiq_mei.o lantiq_atm.o
2lantiq_atm-objs := ifxmips_atm_core.o
3
4ifeq ($(BUILD_VARIANT),danube)
5  CFLAGS_MODULE+=-DCONFIG_DANUBE
6  EXTRA_CFLAGS+=-DCONFIG_DANUBE
7  lantiq_atm-objs += ifxmips_atm_danube.o
8endif
9ifeq ($(BUILD_VARIANT),ase)
10  CFLAGS_MODULE+=-DCONFIG_AMAZON_SE
11  EXTRA_CFLAGS+=-DCONFIG_AMAZON_SE
12  lantiq_atm-objs += ifxmips_atm_amazon_se.o
13endif
14ifeq ($(BUILD_VARIANT),ar9)
15  CFLAGS_MODULE+=-DCONFIG_AR9
16  EXTRA_CFLAGS+=-DCONFIG_AR9
17  lantiq_atm-objs += ifxmips_atm_ar9.o
18endif
19ifeq ($(BUILD_VARIANT),vr9)
20  CFLAGS_MODULE+=-DCONFIG_VR9
21  EXTRA_CFLAGS+=-DCONFIG_VR9
22  lantiq_atm-objs += ifxmips_atm_vr9.o
23endif
Note: See TracBrowser for help on using the repository browser.