From 3cbb69a17442e9e59283714ffd96a49784e5c161 Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 6 Jul 2011 19:02:27 +0000 Subject: ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27498 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ltq-vmmc/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'package/ltq-vmmc/Makefile') diff --git a/package/ltq-vmmc/Makefile b/package/ltq-vmmc/Makefile index 8ca4e2398..51c33f57e 100644 --- a/package/ltq-vmmc/Makefile +++ b/package/ltq-vmmc/Makefile @@ -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)) -- cgit v1.2.3