Makefile 810 B

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