aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-vmmc/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-06 19:02:27 +0000
committerJohn Crispin <john@openwrt.org>2011-07-06 19:02:27 +0000
commit302347e4d45ef075007817e1c53732b0a348ac9b (patch)
treec28d0139dabd85c0b4bace86369312174ff1c01b /package/ltq-vmmc/Makefile
parent1d43c2b5b65e8ccbd05e2c3c7fef05a4cc568138 (diff)
downloadupstream-302347e4d45ef075007817e1c53732b0a348ac9b.tar.gz
upstream-302347e4d45ef075007817e1c53732b0a348ac9b.tar.bz2
upstream-302347e4d45ef075007817e1c53732b0a348ac9b.zip
ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip
SVN-Revision: 27498
Diffstat (limited to 'package/ltq-vmmc/Makefile')
-rw-r--r--package/ltq-vmmc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/ltq-vmmc/Makefile b/package/ltq-vmmc/Makefile
index 8ca4e2398f..51c33f57ea 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))