ar71xx: use the new om-watchdog package for OM2P
[openwrt/staging/wigyori.git] / package / om2p-watchdog / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=om2p-watchdog
11 PKG_RELEASE:=1
12 PKG_VERSION:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/om2p-watchdog
17 SECTION:=base
18 CATEGORY:=Base system
19 DEPENDS:=@TARGET_ar71xx
20 TITLE:=om2p watchdog
21 URL:=http://openwrt.org/
22 endef
23
24 define Package/om2p-watchdog/description
25 This package contains the hw watchdog script for the OM2P device.
26 endef
27
28 define Build/Prepare
29 endef
30
31 define Build/Compile
32 endef
33
34 define Build/Compile
35 endef
36
37 define Package/om2p-watchdog/install
38 $(INSTALL_DIR) $(1)/etc/init.d/
39 $(INSTALL_DIR) $(1)/sbin/
40 $(INSTALL_BIN) ./files/om2p-watchdog.init $(1)/etc/init.d/om2p-watchdog
41 $(INSTALL_BIN) ./files/om2p-watchdog $(1)/sbin/om2p-watchdog
42 endef
43
44
45 $(eval $(call BuildPackage,om2p-watchdog))
46