Root/package/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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=om-watchdog
11PKG_RELEASE:=1
12PKG_VERSION:=1
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/om-watchdog
17  SECTION:=base
18  CATEGORY:=Base system
19  TITLE:=om watchdog
20  URL:=http://openwrt.org/
21endef
22
23define Package/om-watchdog/description
24 This package contains the hw watchdog script for the OM1P and OM2P device.
25endef
26
27define Build/Prepare
28endef
29
30define Build/Compile
31endef
32
33define Build/Compile
34endef
35
36define Package/om-watchdog/install
37    $(INSTALL_DIR) $(1)/etc/init.d/
38    $(INSTALL_DIR) $(1)/sbin/
39    $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
40    $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
41endef
42
43
44$(eval $(call BuildPackage,om-watchdog))
45
46

Archive Download this file



interactive