summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/remote-update/Makefile
blob: 4f8b3a596b401826375e73b67d48de6f6e811f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Copyright (C) 2009 Jo-Philipp Wich <jow@openwrt.org>
#
# This is free software, licensed under the Apache 2.0 license.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=remote-update
PKG_RELEASE:=4

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/remote-update
  SECTION:=luci
  CATEGORY:=LuCI
  SUBMENU:=9. Freifunk
  TITLE:=Freifunk remote update utility.
  DEPENDS:=@TARGET_atheros||@TARGET_ar71xx||@TARGET_brcm_2_4
endef

define Package/remote-update/description
  The freifunk remote-update utility uses sysupgrade to reflash the currently 
  running firmware while keeping most of the existing configuratio.
endef

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

define Build/Configure
endef

define Build/Compile
endef

define Package/remote-update/install
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,remote-update))