X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d6f0d4414c8fadc492c5aff041234905c50b124f..bf4e014f49ba24238c03e0de96b1c537a13891fe:/package/ltq-tapi/Makefile?ds=sidebyside diff --git a/package/ltq-tapi/Makefile b/package/ltq-tapi/Makefile index 656ae1505..ecaac2eeb 100644 --- a/package/ltq-tapi/Makefile +++ b/package/ltq-tapi/Makefile @@ -22,7 +22,7 @@ define KernelPackage/ltq-tapi SUBMENU:=Voice over IP TITLE:=Lantiq TAPI subsystem URL:=http://www.lantiq.com/ - DEPENDS:=+kmod-ltq-ifxos @TARGET_lantiq_xway + DEPENDS:=+kmod-ltq-ifxos @TARGET_lantiq FILES:=$(PKG_BUILD_DIR)/src/drv_tapi.ko AUTOLOAD:=$(call AutoLoad,20,drv_tapi) MAINTAINER:=John Crispin @@ -60,12 +60,10 @@ define Build/Configure $(call Build/Configure/Default) endef -ifdef CONFIG_TARGET_lantiq - define Build/InstallDev +define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/drv_tapi $(CP) --dereference $(PKG_BUILD_DIR)/include/* $(1)/usr/include/drv_tapi (cd $(1)/usr/include/drv_tapi && ln -s . include && ln -s ../ifxos/ifx_types.h .) - endef -endif +endef $(eval $(call KernelPackage,ltq-tapi))