ltq-adsl-app: use notification based ATM/PTM driver load
[openwrt/openwrt.git] / package / kernel / lantiq / ltq-atm / Makefile
index 25ee0c6..065ce17 100644 (file)
@@ -7,10 +7,11 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=ltq-atm
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/ltq-atm-$(BUILD_VARIANT)
 
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
+PKG_LICENSE:=GPL-2.0+
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -23,7 +24,6 @@ define KernelPackage/ltq-atm-template
   VARIANT:=$(1)
   DEPENDS:=@$(2) +kmod-atm +br2684ctl
   FILES:=$(PKG_BUILD_DIR)/ltq_atm_$(1).ko
-  AUTOLOAD:=$(call AutoProbe,ltq_atm_$(1))
 endef
 
 KernelPackage/ltq-atm-danube=$(call KernelPackage/ltq-atm-template,danube,(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy))
@@ -31,15 +31,10 @@ KernelPackage/ltq-atm-ar9=$(call KernelPackage/ltq-atm-template,ar9,TARGET_lanti
 KernelPackage/ltq-atm-ase=$(call KernelPackage/ltq-atm-template,ase,TARGET_lantiq_ase)
 
 define KernelPackage/ltq-atm-vr9
-  $(call KernelPackage/ltq-atm-template,vr9,xrx200)
+  $(call KernelPackage/ltq-atm-template,vr9,TARGET_lantiq_xrx200)
   AUTOLOAD:=
 endef
 
-define Build/Prepare
-       $(INSTALL_DIR) $(PKG_BUILD_DIR) 
-       $(CP) ./src/* $(PKG_BUILD_DIR)
-endef
-
 define Build/Configure
 endef