mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 21:25:48 +00:00
ltq-ifxos: enable for ipq40xx
This is required for the MEI CPE driver. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
parent
474bbe23b7
commit
2a0aa9eefa
@ -32,7 +32,7 @@ define KernelPackage/ltq-ifxos
|
|||||||
SUBMENU:=Libraries
|
SUBMENU:=Libraries
|
||||||
TITLE:=Lantiq OS abstraction library
|
TITLE:=Lantiq OS abstraction library
|
||||||
URL:=http://www.lantiq.com/
|
URL:=http://www.lantiq.com/
|
||||||
DEPENDS:=@TARGET_lantiq
|
DEPENDS:=@(TARGET_lantiq||TARGET_ipq40xx)
|
||||||
FILES:=$(PKG_BUILD_DIR)/src/drv_ifxos.ko
|
FILES:=$(PKG_BUILD_DIR)/src/drv_ifxos.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,10,drv_ifxos)
|
AUTOLOAD:=$(call AutoLoad,10,drv_ifxos)
|
||||||
endef
|
endef
|
||||||
@ -44,13 +44,11 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-kernelincl="$(LINUX_DIR)/include" \
|
--enable-kernelincl="$(LINUX_DIR)/include" \
|
||||||
--with-kernel-module
|
--with-kernel-module
|
||||||
|
|
||||||
ifdef CONFIG_TARGET_lantiq
|
define Build/InstallDev
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/{lib,include/ifxos}
|
$(INSTALL_DIR) $(1)/usr/{lib,include/ifxos}
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/include/* $(1)/usr/include/ifxos
|
$(CP) $(PKG_BUILD_DIR)/src/include/* $(1)/usr/include/ifxos
|
||||||
mkdir -p $(1)/usr/lib
|
mkdir -p $(1)/usr/lib
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/.libs/libifxos.a $(1)/usr/lib/libifxos.a
|
$(CP) $(PKG_BUILD_DIR)/src/.libs/libifxos.a $(1)/usr/lib/libifxos.a
|
||||||
endef
|
endef
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,ltq-ifxos))
|
$(eval $(call KernelPackage,ltq-ifxos))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user