2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=om2p-watchdog
14 include $(INCLUDE_DIR)/package.mk
16 define Package/om2p-watchdog
19 DEPENDS:=@TARGET_ar71xx
21 URL:=http://openwrt.org/
24 define Package/om2p-watchdog/description
25 This package contains the hw watchdog script for the OM2P device.
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
45 $(eval $(call BuildPackage,om2p-watchdog))