c8adceeaac1ec271f873eb6098928c334f9108d3
[project/luci.git] / contrib / package / remote-update / Makefile
1 #
2 # Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
3 #
4 # This is free software, licensed under the Apache 2.0 license.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=remote-update
10 PKG_RELEASE:=1
11
12 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/remote-update
17 SECTION:=luci
18 CATEGORY:=LuCI
19 SUBMENU:=Freifunk
20 TITLE:=Freifunk remote update utility.
21 DEPENDS:=@TARGET_atheros||@TARGET_ar71xx||@TARGET_brcm-2.4
22 endef
23
24 define Package/remote-update/description
25 The freifunk remote-update utility uses sysupgrade to reflash the currently
26 running firmware while keeping most of the existing configuratio.
27 endef
28
29 define Build/Prepare
30 mkdir -p $(PKG_BUILD_DIR)
31 endef
32
33 define Build/Configure
34 endef
35
36 define Build/Compile
37 endef
38
39 define Package/remote-update/install
40 $(CP) ./files/* $(1)/
41 endef
42
43 $(eval $(call BuildPackage,remote-update))