source: trunk/package/om2p-watchdog/Makefile @ 28972

Last change on this file since 28972 was 28972, checked in by juhosg, 4 years ago

package: add om2p-watchdog script

Based on a patch by: Marek Lindner <lindner_marek@…>

  • Property svn:eol-style set to native
File size: 905 bytes
Line 
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:=om2p-watchdog
11PKG_RELEASE:=1
12PKG_VERSION:=1
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/om2p-watchdog
17  SECTION:=base
18  CATEGORY:=Base system
19  DEPENDS:=@TARGET_ar71xx
20  TITLE:=om2p watchdog
21  URL:=http://openwrt.org/
22endef
23
24define Package/om2p-watchdog/description
25 This package contains the hw watchdog script for the OM2P device.
26endef
27
28define Build/Prepare
29endef
30
31define Build/Compile
32endef
33
34define Build/Compile
35endef
36
37define 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
42endef
43
44
45$(eval $(call BuildPackage,om2p-watchdog))
46
Note: See TracBrowser for help on using the repository browser.