fix licensing issues of ifxmips dsl driver
SVN-Revision: 20636
This commit is contained in:
parent
e7cab3a71e
commit
6bfe50b364
3 changed files with 26 additions and 2 deletions
|
@ -17,6 +17,13 @@ config IFXMIPS_ANNEX_B
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config IFXMIPS_DSL_FIRMWARE
|
||||||
|
bool "ifxmips-dsl firmware extractor"
|
||||||
|
default y
|
||||||
|
depends on PACKAGE_kmod-ifxmips-dsl-api
|
||||||
|
help
|
||||||
|
Say Y, if you need ifxmips-dsl to auto extract the firmware for you from the a800 firmware image
|
||||||
|
|
||||||
config IFXMIPS_DSL_DEBUG
|
config IFXMIPS_DSL_DEBUG
|
||||||
bool "ifxmips-dsl debugging"
|
bool "ifxmips-dsl debugging"
|
||||||
depends on PACKAGE_kmod-ifxmips-dsl-api
|
depends on PACKAGE_kmod-ifxmips-dsl-api
|
||||||
|
|
|
@ -34,7 +34,7 @@ define KernelPackage/ifxmips-dsl-api
|
||||||
TITLE:=DSL CPE API driver
|
TITLE:=DSL CPE API driver
|
||||||
URL:=http://www.infineon.com/
|
URL:=http://www.infineon.com/
|
||||||
MAINTAINER:=Infineon Technologies AG / Lantiq / blogic@openwrt.org
|
MAINTAINER:=Infineon Technologies AG / Lantiq / blogic@openwrt.org
|
||||||
DEPENDS:=@TARGET_ifxmips
|
DEPENDS:=@TARGET_ifxmips @BROKEN
|
||||||
FILES:=$(PKG_BUILD_DIR)/src/mei/ifxmips_mei.$(LINUX_KMOD_SUFFIX) \
|
FILES:=$(PKG_BUILD_DIR)/src/mei/ifxmips_mei.$(LINUX_KMOD_SUFFIX) \
|
||||||
$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.$(LINUX_KMOD_SUFFIX) \
|
$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.$(LINUX_KMOD_SUFFIX) \
|
||||||
$(PKG_BUILD_DIR)/src/mei/ifxmips_atm.$(LINUX_KMOD_SUFFIX)
|
$(PKG_BUILD_DIR)/src/mei/ifxmips_atm.$(LINUX_KMOD_SUFFIX)
|
||||||
|
@ -57,6 +57,17 @@ define KernelPackage/ifxmips-dsl-api/config
|
||||||
source "$(SOURCE)/Config.in"
|
source "$(SOURCE)/Config.in"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_IFXMIPS_DSL_FIRMWARE),y)
|
||||||
|
FW_FILE:=arcor_A800_452CPW_FW_1.02.206(20081201).bin
|
||||||
|
define Download/firmware
|
||||||
|
URL:=http://www.arcor.de/hilfe/files/pdf/
|
||||||
|
FILE=$(FW_FILE)
|
||||||
|
MD5SUM:=19d9af4e369287a0f0abaed415cdac10
|
||||||
|
endef
|
||||||
|
$(eval $(call Download,firmware))
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
define Download/annex-a
|
define Download/annex-a
|
||||||
FILE:=$(FW_BASE_NAME)_a-$(FW_A_VER).tar.gz
|
FILE:=$(FW_BASE_NAME)_a-$(FW_A_VER).tar.gz
|
||||||
URL:=http://mirror2.openwrt.org/sources/
|
URL:=http://mirror2.openwrt.org/sources/
|
||||||
|
@ -70,6 +81,7 @@ define Download/annex-b
|
||||||
MD5SUM:=$(FW_B_MD5)
|
MD5SUM:=$(FW_B_MD5)
|
||||||
endef
|
endef
|
||||||
$(eval $(call Download,annex-b))
|
$(eval $(call Download,annex-b))
|
||||||
|
endif
|
||||||
|
|
||||||
IFX_DSL_MAX_DEVICE=1
|
IFX_DSL_MAX_DEVICE=1
|
||||||
IFX_DSL_LINES_PER_DEVICE=1
|
IFX_DSL_LINES_PER_DEVICE=1
|
||||||
|
@ -145,7 +157,12 @@ endef
|
||||||
|
|
||||||
define KernelPackage/ifxmips-dsl-api/install
|
define KernelPackage/ifxmips-dsl-api/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/
|
$(INSTALL_DIR) $(1)/lib/firmware/
|
||||||
|
ifeq ($(CONFIG_IFXMIPS_DSL_FIRMWARE),y)
|
||||||
|
$(PLATFORM_DIR)/extract.sh $(DL_DIR) '$(FW_FILE)'
|
||||||
|
$(CP) $(DL_DIR)/dsl_$(if $(CONFIG_IFXMIPS_ANNEX_A),a,b).bin $(1)/lib/firmware/ModemHWE.bin
|
||||||
|
else
|
||||||
$(CP) $(PKG_BUILD_DIR)/$(FW_BASE_NAME)_$(if $(CONFIG_IFXMIPS_ANNEX_A),a_$(FW_A_FILE_VER),b_$(FW_B_FILE_VER)).bin $(1)/lib/firmware/ModemHWE.bin
|
$(CP) $(PKG_BUILD_DIR)/$(FW_BASE_NAME)_$(if $(CONFIG_IFXMIPS_ANNEX_A),a_$(FW_A_FILE_VER),b_$(FW_B_FILE_VER)).bin $(1)/lib/firmware/ModemHWE.bin
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,ifxmips-dsl-api))
|
$(eval $(call KernelPackage,ifxmips-dsl-api))
|
||||||
|
|
|
@ -24,7 +24,7 @@ define Package/ifxmips-dsl-control
|
||||||
TITLE:=DSL CPE control application
|
TITLE:=DSL CPE control application
|
||||||
URL:=http://www.infineon.com/
|
URL:=http://www.infineon.com/
|
||||||
MAINTAINER:=Infineon Technologies AG / Lantiq / blogic@openwrt.org
|
MAINTAINER:=Infineon Technologies AG / Lantiq / blogic@openwrt.org
|
||||||
DEPENDS:=+kmod-ifxmips-dsl-api +libpthread
|
DEPENDS:=+kmod-ifxmips-dsl-api +libpthread @BROKEN
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ifxmips-dsl-control/description
|
define Package/ifxmips-dsl-control/description
|
||||||
|
|
Loading…
Reference in a new issue