From: Felix Fietkau Date: Sun, 13 Mar 2011 18:45:27 +0000 (+0000) Subject: ltq-ifxos: only attempt to build if the lantiq target is selected (fixes #9035) X-Git-Tag: reboot~17244 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73088cf044c24ee7f773910c0bf469127f4e7f8a;p=oweals%2Fopenwrt.git ltq-ifxos: only attempt to build if the lantiq target is selected (fixes #9035) SVN-Revision: 26132 --- 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))