Developing lightweight computation at the DSG edge

Makefile 1.66 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
# 
# Copyright (C) 2011 qmp.cat
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

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

PKG_NAME:=qmp-small-node
PKG_RELEASE:=1
hitz's avatar
hitz committed
13
14
15
#PKG_SOURCE_URL:=@SF/qmp-small-node
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
16
17
18
19
20
21
22
23
24

include $(INCLUDE_DIR)/package.mk

define Package/qmp-small-node
  SECTION:=net
  CATEGORY:=Base system
  TITLE:=Required addons for small qmp mesh nodes ( 4MByte )
  URL:=http://qmp.cat
  DEPENDS:= \
25
	+uhttpd +luci +luci-lib-nixio \
26
	+luci-ssl \
27
28
29
	+iputils-arping +iputils-clockdiff +iputils-ping +iputils-tracepath \
	+ahcpd \
	+radvd \
30
	+hostapd \
hakais's avatar
hakais committed
31
	+wireless-tools +iw \
32
	+wide-dhcpv6-client +wide-dhcpv6-control +wide-dhcpv6-server \
33
	+bmx6-qmp +bmx6-qmp-uci-config +bmx6-qmp-json +bmx6-qmp-sms +bmx6-luci \
34
35
	+olsrd +olsrd-mod-txtinfo +olsrd-mod-httpinfo +olsrd-mod-watchdog \
	+olsrd-mod-arprefresh +olsrd-luci \
36
37
	+luci-i18n-catalan +luci-i18n-spanish +luci-i18n-french \
	+babeld \
hakais's avatar
hakais committed
38
	+ip \
39
40
41
42
43
	+ndisc6 +rdisc6 +rdnssd \
	+6in4 +6to4 \
	+ip6tables +ip6tables-utils \
	+kmod-niit \
	+kmod-ipip \
44
	+kmod-ip6-tunnel +kmod-iptunnel6 \
45
	+kmod-tun \
46
	+kmod-madwifi \
47
48
	+kmod-ath9k \
	+kmod-ath5k
49

50
51
52
53
54
55
56
endef


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

hitz's avatar
hitz committed
57
58
59
60
61
62
63
64
65
66
67
68
69
70
define Package/qmp-small-node/conffiles
	/etc/config/qmp
endef

define Build/Prepare
	mkdir -p $(PKG_BUILD_DIR)
endef

define Build/Configure
endef

define Build/Compile
endef

hitz's avatar
hitz committed
71
72
73
74
define Package/qmp-small-node/install
	$(CP) ./files/* $(1)/
	chmod 755 $(1)/etc/init.d/qmp_autoconf
endef
75
76
77


$(eval $(call BuildPackage,qmp-small-node))
hitz's avatar
hitz committed
78