Makefile 868 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:=1
  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/Prepare
  22. endef
  23. define Build/Compile
  24. endef
  25. define Build/Compile
  26. endef
  27. define Package/om-watchdog/install
  28. $(INSTALL_DIR) $(1)/etc/init.d/
  29. $(INSTALL_DIR) $(1)/sbin/
  30. $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
  31. $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
  32. endef
  33. $(eval $(call BuildPackage,om-watchdog))