Developing lightweight computation at the DSG edge

Makefile 2.82 KB
Newer Older
1
#    Copyright (C) 2011 Fundacio Privada per a la Xarxa Oberta, Lliure i Neutral guifi.net
2
#
3
4
5
6
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
7
#
8
9
10
11
12
13
14
15
16
17
18
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License along
#    with this program; if not, write to the Free Software Foundation, Inc.,
#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#    The full GNU General Public License is included in this distribution in
#    the file called "COPYING".
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=qmp-big-node
PKG_RELEASE:=1
PKG_SOURCE_URL:=@SF/qmp-big-node


PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/qmp-big-node
  SECTION:=net
  CATEGORY:=Base system
  TITLE:=Required addons for big qmp mesh nodes (8MByte flash or more)
  URL:=http://qmp.cat
  DEPENDS:= \
	+qmp-small-node \
39
40
	+qmp-tinyproxy \
	+babeld \
41
42
43
	+openvpn \
	+openssl-util \
        +tcptraceroute6 \
44
	+iperf +mtr +netcat \
45
46
	+tcpdump \
	+lsof \
47
	+wget +horst \
48
	+ipv6calc \
hitz's avatar
hitz committed
49
	+bmon +bwm +ebtables +pv \
50
51
52

endef

53
54
55
#fails compiling:
#       +tcpdump \# fails compiling with backfire 27441

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# for qmp-big-node-testing:

define CommentsAndOptions
  DEPENDS_COMMENT:= \
	+luci-mod-freifunk-community \
	+olsrd +olsrd-mod-txtinfo +olsrd-mod-httpinfo +olsrd-mod-watchdog +olsrd-mod-arprefresh \
        +olsrd-eigennet +olsrd-eigennet-mod-dyn-gw +olsrd-eigennet-mod-httpinfo +olsrd-eigennet-mdns +olsrd-eigennet-mod-arprefresh +olsrd-eigennet-mod-txtinfo  +bmxe +bmx-uci-config +bmx-gsf-map \
	+eigennet-autoconf \
	+gsf-map-minimal \
	+gsf-map-full \
	+wpa-supplicant-mini \
	+hostapd-mini \
 


endef
#       +niit \
#	+tcpdump \
#	+bwm +wprobe-export \

#	+small-mesh-node +gsf-map-full \
#	+wget \
#	+bwm +wprobe-export \
#	+kmod-usb-core +kmod-usb-net +kmod-usb-ohci +kmod-usb2 +kmod-rt73-usb \
#	+kmod-p54-usb +kmod-rt2500-usb +kmod-rt2800-usb \
#	+kmod-zd1211rw \
#	+kmod-rtl8187 \
#	+kmod-ath +kmod-ath9k \
#	+iw \
#	+libopenssl \
#	+openvpn \
#
#	+luci-app-openvpn \
#	+openssl-util \
#	+libnl-tiny \
#	+luci-app-openvpn \
#	+wprobe-export \  # I guess this one causes the crc-ccitt compile ERROR
#	+usbutils \
#	+hostapd +hostapd-utils \ # causing recursive dependency

#  KCONFIG:=CONFIG_KERNEL_KALLSYMS CONFIG_GDB


define Package/qmp-big-node/description
 Addons for big qmp nodes (8MByte flash or more)
endef



$(eval $(call BuildPackage,qmp-big-node))