ramips: Switch Teltonika RUT5xx to kernel GPIO-line watchdog driver
[openwrt/openwrt.git] / package / kernel / om-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:=om-watchdog
11 PKG_RELEASE:=4
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/om-watchdog
16 SECTION:=base
17 CATEGORY:=Base system
18 TITLE:=om watchdog
19 URL:=http://openwrt.org/
20 endef
21
22 define Package/om-watchdog/description
23 This package contains the hw watchdog script for the OM1P and OM2P device.
24 endef
25
26 define Build/Compile
27 endef
28
29 define Package/om-watchdog/install
30 $(INSTALL_DIR) $(1)/etc/init.d/
31 $(INSTALL_DIR) $(1)/sbin/
32 $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
33 $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
34 endef
35
36 $(eval $(call BuildPackage,om-watchdog))