ltq-ifxos: only attempt to build if the lantiq target is selected (fixes #9035)
SVN-Revision: 26132
This commit is contained in:
parent
484a793dd4
commit
73088cf044
1 changed files with 4 additions and 2 deletions
|
@ -39,11 +39,13 @@ define Build/Configure
|
|||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
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
|
||||
endif
|
||||
|
||||
$(eval $(call KernelPackage,ltq-ifxos))
|
||||
|
|
Loading…
Reference in a new issue