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-a3cf2f4a3e73master
parent
c01189856e
commit
244957171a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue