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