X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/66edc1401061927ab5335a3857bfa57a91d11d93..26a7be32ea3aa4dfc8fd6dfc25f5d664999af8a1:/package/ltq-vmmc/Makefile diff --git a/package/ltq-vmmc/Makefile b/package/ltq-vmmc/Makefile index 2f3e834f2..464d005c4 100644 --- a/package/ltq-vmmc/Makefile +++ b/package/ltq-vmmc/Makefile @@ -22,7 +22,7 @@ define KernelPackage/ltq-vmmc SUBMENU:=Voice over IP TITLE:=TAPI LL driver for Voice Macro URL:=http://www.lantiq.com/ - DEPENDS:=+kmod-ltq-tapi @TARGET_lantiq_xway + DEPENDS:=+kmod-ltq-tapi @(TARGET_lantiq_danube||TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable) FILES:=$(PKG_BUILD_DIR)/src/drv_vmmc.ko AUTOLOAD:=$(call AutoLoad,25,drv_vmmc) MAINTAINER:=John Crispin @@ -143,20 +143,18 @@ define Build/Configure $(call Build/Configure/Default) endef -ifdef CONFIG_TARGET_lantiq - define Build/InstallDev +define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include mkdir -p $(1)/usr/include/drv_vmmc $(CP) -v --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_vmmc (cd $(1)/usr/include/drv_vmmc && ln -snf . include) - endef +endef - define KernelPackage/ltq-vmmc/install +define KernelPackage/ltq-vmmc/install $(INSTALL_DIR) $(1)/etc/init.d $(1)/$(FW_DIR) $(INSTALL_BIN) ./files/vmmc.init $(1)/etc/init.d/vmmc $(CP) $(PKG_BUILD_DIR)/firmware/$(FW_SOURCE) $(1)/$(FW_DIR)/$(FW_TARGET) $(CP) $(PKG_BUILD_DIR)/coef/$(COEF_SRC) $(1)/$(FW_DIR)/$(COEF_TARGET) - endef -endif +endef $(eval $(call KernelPackage,ltq-vmmc))