Developing lightweight computation at the DSG edge

Makefile 1.8 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
#
# Contributors:
21
#	Pau Escrich <p4u@dabax.net>
22
23
#	Simó Albert i Beltran
#
24
25
26
27
28

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

PKG_NAME:=qmp-small-node
29
30
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
31
32
33
34
35

include $(INCLUDE_DIR)/package.mk

define Package/qmp-small-node
  SECTION:=net
36
  CATEGORY:=qMp
37
  TITLE:=Required addons for small qMp mesh node
38
39
  URL:=http://qmp.cat
  DEPENDS:= \
40
	+qmp-tiny-node \
41
	+iputils-arping +iputils-clockdiff +tcpdump-mini \
42
	+cgi-bin-zero +mtr +netperf \
43
	+kmod-ipip +kmod-gre \
44
	+b6m +b6m-spread \
45
	+munin-mesh +mini-snmpd
46
47
48
49
50
51
52
endef


define Package/qmp-small-node/description
 Addons for small qmp nodes (4MByte flash)
endef

hitz's avatar
hitz committed
53
54
55
56
57
58
define Build/Configure
endef

define Build/Compile
endef

59
60
61
62
define Build/Prepare
 mkdir -p $(PKG_BUILD_DIR)
endef

hitz's avatar
hitz committed
63
define Package/qmp-small-node/install
64
    $(INSTALL_DIR) $(1)/etc/qmp
hitz's avatar
hitz committed
65
endef
66
67

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