base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
[openwrt.git] / package / ltq-dsl-app / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_BASE_NAME:=dsl_cpe_control_danube
12 PKG_VERSION:=3.24.4.4
13 PKG_RELEASE:=1
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/ltq-dsl-app
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=Lantiq DSL userland tool
25 URL:=http://www.lantiq.com/
26 DEPENDS:=@TARGET_lantiq_xway +kmod-ltq-dsl +libpthread
27 MAINTAINER:=John Crispin <blogic@openwrt.org>
28 endef
29
30 define Package/ltq-dsl-app/description
31 Infineon DSL CPE API for Amazon SE, Danube and Vinax.
32 endef
33
34 IFX_DSL_MAX_DEVICE=1
35 IFX_DSL_LINES_PER_DEVICE=1
36 IFX_DSL_CHANNELS_PER_LINE=1
37 #CONFIG_IFX_CLI=y
38
39 CONFIGURE_ARGS += \
40 --with-max-device="$(IFX_DSL_MAX_DEVICE)" \
41 --with-lines-per-device="$(IFX_DSL_LINES_PER_DEVICE)" \
42 --with-channels-per-line="$(IFX_DSL_CHANNELS_PER_LINE)" \
43 --enable-danube \
44 --enable-driver-include="-I$(STAGING_DIR)/usr/include" \
45 --enable-debug-prints \
46 --enable-add-appl-cflags="-DMAX_CLI_PIPES=2" \
47 --enable-cmv-scripts \
48 --enable-debug-tool-interface \
49 --enable-adsl-led \
50 --enable-dsl-ceoc \
51 --enable-script-notification \
52 --enable-dsl-pm \
53 --enable-dsl-pm-total \
54 --enable-dsl-pm-history \
55 --enable-dsl-pm-showtime \
56 --enable-dsl-pm-channel-counters \
57 --enable-dsl-pm-datapath-counters \
58 --enable-dsl-pm-line-counters \
59 --enable-dsl-pm-channel-thresholds \
60 --enable-dsl-pm-datapath-thresholds \
61 --enable-dsl-pm-line-thresholds \
62 --enable-dsl-pm-optional-parameters
63
64 ifeq ($(CONFIG_IFX_CLI),y)
65 CONFIGURE_ARGS += \
66 --enable-cli-support \
67 --enable-soap-support
68 endif
69
70 TARGET_CFLAGS += -I$(LINUX_DIR)/include
71
72 define Package/ltq-dsl-app/install
73 $(INSTALL_DIR) $(1)/etc/init.d
74 $(INSTALL_BIN) ./files/ifx_cpe_control_init.sh $(1)/etc/init.d/
75
76 $(INSTALL_DIR) $(1)/sbin
77 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dsl_cpe_control $(1)/sbin
78 endef
79
80 $(eval $(call BuildPackage,ltq-dsl-app))
This page took 0.057047 seconds and 5 git commands to generate.