aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-ifxos/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-13 18:45:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-13 18:45:27 +0000
commit73088cf044c24ee7f773910c0bf469127f4e7f8a (patch)
tree6eee956b6dae51d3615a74b63b976d723d002454 /package/ltq-ifxos/Makefile
parent484a793dd4bf50eeb38d164a2e8f7dbfc91d8194 (diff)
downloadupstream-73088cf044c24ee7f773910c0bf469127f4e7f8a.tar.gz
upstream-73088cf044c24ee7f773910c0bf469127f4e7f8a.tar.bz2
upstream-73088cf044c24ee7f773910c0bf469127f4e7f8a.zip
ltq-ifxos: only attempt to build if the lantiq target is selected (fixes #9035)
SVN-Revision: 26132
Diffstat (limited to 'package/ltq-ifxos/Makefile')
-rw-r--r--package/ltq-ifxos/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/ltq-ifxos/Makefile b/package/ltq-ifxos/Makefile
index 518c90fd6f..c947404b99 100644
--- a/package/ltq-ifxos/Makefile
+++ b/package/ltq-ifxos/Makefile
@@ -39,11 +39,13 @@ define Build/Configure
$(call Build/Configure/Default)
endef
-define Build/InstallDev
+ifdef CONFIG_TARGET_lantiq
+ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/{lib,include/ifxos}
$(CP) $(PKG_BUILD_DIR)/src/include/* $(1)/usr/include/ifxos
mkdir -p $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libifxos.a $(1)/usr/lib/libifxos.a
-endef
+ endef
+endif
$(eval $(call KernelPackage,ltq-ifxos))