brcm47xx: fix build of tg3 for kernel 2.6.34
[openwrt.git] / package / ifxmips-dsl-control / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # ralph / blogic
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_BASE_NAME:=dsl_cpe_control_danube
13 PKG_VERSION:=3.24.4.4
14 PKG_SOURCE:=$(PKG_BASE_NAME)-$(PKG_VERSION).tar.gz
15 PKG_BUILD_DIR:=$(BUILD_DIR)/dsl_cpe_control-$(PKG_VERSION)
16 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
17 PKG_MD5SUM:=ee315306626b68794d3d3636dabfe161
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ifxmips-dsl-control
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=DSL CPE control application
25 URL:=http://www.infineon.com/
26 MAINTAINER:=Infineon Technologies AG / Lantiq / blogic@openwrt.org
27 DEPENDS:=+kmod-ifxmips-dsl-api +libpthread @BROKEN
28 endef
29
30 define Package/ifxmips-dsl-control/description
31 Infineon DSL CPE API for Amazon SE, Danube and Vinax.
32 This package contains the DSL CPE control application for Amazon SE & Danube.
33
34 Supported Devices:
35 - Amazon SE
36 - Danube
37
38 This package was kindly contributed to openwrt by Infineon/Lantiq
39 endef
40
41 IFX_DSL_MAX_DEVICE=1
42 IFX_DSL_LINES_PER_DEVICE=1
43 IFX_DSL_CHANNELS_PER_LINE=1
44 #CONFIG_IFX_CLI=y
45
46 CONFIGURE_ARGS += \
47 --with-max-device="$(IFX_DSL_MAX_DEVICE)" \
48 --with-lines-per-device="$(IFX_DSL_LINES_PER_DEVICE)" \
49 --with-channels-per-line="$(IFX_DSL_CHANNELS_PER_LINE)" \
50 --enable-danube \
51 --enable-driver-include="-I$(STAGING_DIR)/usr/include" \
52 --enable-debug-prints \
53 --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
54 --enable-cmv-scripts \
55 --enable-debug-tool-interface \
56 --enable-adsl-led \
57 --enable-dsl-ceoc \
58 --enable-script-notification \
59 --enable-dsl-pm \
60 --enable-dsl-pm-total \
61 --enable-dsl-pm-history \
62 --enable-dsl-pm-showtime \
63 --enable-dsl-pm-channel-counters \
64 --enable-dsl-pm-datapath-counters \
65 --enable-dsl-pm-line-counters \
66 --enable-dsl-pm-channel-thresholds \
67 --enable-dsl-pm-datapath-thresholds \
68 --enable-dsl-pm-line-thresholds \
69 --enable-dsl-pm-optional-parameters
70
71 ifeq ($(CONFIG_IFX_CLI),y)
72 CONFIGURE_ARGS += \
73 --enable-cli-support \
74 --enable-soap-support
75 endif
76
77 TARGET_CFLAGS += -I$(LINUX_DIR)/include
78
79 define Package/ifxmips-dsl-control/install
80 $(INSTALL_DIR) $(1)/etc/init.d
81 $(INSTALL_BIN) ./files/ifx_cpe_control_init.sh $(1)/etc/init.d/
82
83 $(INSTALL_DIR) $(1)/sbin
84 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin
85 endef
86
87 $(eval $(call BuildPackage,ifxmips-dsl-control))
This page took 0.051563 seconds and 5 git commands to generate.