Makefile 795 B

123456789101112131415161718192021222324252627282930313233343536
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=om-watchdog
  9. PKG_RELEASE:=4
  10. include $(INCLUDE_DIR)/package.mk
  11. define Package/om-watchdog
  12. SECTION:=base
  13. CATEGORY:=Base system
  14. TITLE:=om watchdog
  15. URL:=http://openwrt.org/
  16. endef
  17. define Package/om-watchdog/description
  18. This package contains the hw watchdog script for the OM1P and OM2P device.
  19. endef
  20. define Build/Compile
  21. endef
  22. define Package/om-watchdog/install
  23. $(INSTALL_DIR) $(1)/etc/init.d/
  24. $(INSTALL_DIR) $(1)/sbin/
  25. $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
  26. $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
  27. endef
  28. $(eval $(call BuildPackage,om-watchdog))