ltq-dsl: fixes driver for targets other than danube
[openwrt.git] / package / ltq-dsl / src / Makefile
1 obj-m = lantiq_mei.o lantiq_atm.o
2 lantiq_atm-objs := ifxmips_atm_core.o
3
4 ifeq ($(BUILD_VARIANT),danube)
5 CFLAGS_MODULE+=-DCONFIG_DANUBE
6 EXTRA_CFLAGS+=-DCONFIG_DANUBE
7 lantiq_atm-objs += ifxmips_atm_danube.o
8 endif
9 ifeq ($(BUILD_VARIANT),ase)
10 CFLAGS_MODULE+=-DCONFIG_AMAZON_SE
11 EXTRA_CFLAGS+=-DCONFIG_AMAZON_SE
12 lantiq_atm-objs += ifxmips_atm_amazon_se.o
13 endif
14 ifeq ($(BUILD_VARIANT),ar9)
15 CFLAGS_MODULE+=-DCONFIG_AR9
16 EXTRA_CFLAGS+=-DCONFIG_AR9
17 lantiq_atm-objs += ifxmips_atm_ar9.o
18 endif
19 ifeq ($(BUILD_VARIANT),vr9)
20 CFLAGS_MODULE+=-DCONFIG_VR9
21 EXTRA_CFLAGS+=-DCONFIG_VR9
22 lantiq_atm-objs += ifxmips_atm_vr9.o
23 endif
This page took 0.037611 seconds and 5 git commands to generate.