diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-13 18:45:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-13 18:45:27 +0000 |
commit | 244957171ad5c78bfc381448d11b5efc1017bdc7 (patch) | |
tree | c642a8b6819741c3f362d09a434f5ed1122e8a0b /package/ltq-ifxos/Makefile | |
parent | c01189856e1c28afa76147dd6a08a4429b7cac5b (diff) | |
download | upstream-244957171ad5c78bfc381448d11b5efc1017bdc7.tar.gz upstream-244957171ad5c78bfc381448d11b5efc1017bdc7.tar.bz2 upstream-244957171ad5c78bfc381448d11b5efc1017bdc7.zip |
ltq-ifxos: only attempt to build if the lantiq target is selected (fixes #9035)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26132 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-ifxos/Makefile')
-rw-r--r-- | package/ltq-ifxos/Makefile | 6 |
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)) |