aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-adsl/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-13 19:04:56 +0200
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:43 +0200
commitabc346db0e191ebeeb122ce26d1831469fadee1c (patch)
treecd4af73b7eb7eb22aed5bf5d39ff302e7203378f /package/kernel/lantiq/ltq-adsl/Makefile
parent239ad94165adc3ffb5290dd871d2ff0ddff4bdcf (diff)
downloadupstream-abc346db0e191ebeeb122ce26d1831469fadee1c.tar.gz
upstream-abc346db0e191ebeeb122ce26d1831469fadee1c.tar.bz2
upstream-abc346db0e191ebeeb122ce26d1831469fadee1c.zip
package/lantiq: make lantiq kernel modules work with xway_legacy
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl/Makefile')
-rw-r--r--package/kernel/lantiq/ltq-adsl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/lantiq/ltq-adsl/Makefile b/package/kernel/lantiq/ltq-adsl/Makefile
index f781d52347..19c19a1121 100644
--- a/package/kernel/lantiq/ltq-adsl/Makefile
+++ b/package/kernel/lantiq/ltq-adsl/Makefile
@@ -30,14 +30,14 @@ define KernelPackage/ltq-adsl-template
TITLE:=adsl driver for $(1)
URL:=http://www.lantiq.com/
VARIANT:=$(1)
- DEPENDS:=@TARGET_lantiq_$(2) +kmod-ltq-adsl-$(1)-mei
+ DEPENDS:=@$(2) +kmod-ltq-adsl-$(1)-mei
FILES:=$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.ko
AUTOLOAD:=$(call AutoLoad,51,drv_dsl_cpe_api)
endef
-KernelPackage/ltq-adsl-danube=$(call KernelPackage/ltq-adsl-template,danube,xway)
-KernelPackage/ltq-adsl-ar9=$(call KernelPackage/ltq-adsl-template,ar9,xway)
-KernelPackage/ltq-adsl-ase=$(call KernelPackage/ltq-adsl-template,ase,ase)
+KernelPackage/ltq-adsl-danube=$(call KernelPackage/ltq-adsl-template,danube,(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy))
+KernelPackage/ltq-adsl-ar9=$(call KernelPackage/ltq-adsl-template,ar9,TARGET_lantiq_xway)
+KernelPackage/ltq-adsl-ase=$(call KernelPackage/ltq-adsl-template,ase,TARGET_lantiq_ase)
define KernelPackage/ltq-dsl/config
source "$(SOURCE)/Config.in"