Makefile 945 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2006-2010 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:=uboot-envtools
  9. PKG_VERSION:=20081215
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
  12. PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/u/uboot-envtools/
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/uboot-envtools
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. TITLE:=read/modify U-Boot bootloader environment
  18. DEPENDS:= +zlib
  19. URL:=http://www.denx.de/wiki/U-Boot
  20. endef
  21. define Package/uboot-envtools/description
  22. This package includes tools to read and modify U-Boot bootloader environment.
  23. endef
  24. define Package/uboot-envtools/install
  25. $(INSTALL_DIR) $(1)/usr/sbin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
  27. ln -sf fw_printenv $(1)/usr/sbin/fw_setenv
  28. endef
  29. $(eval $(call BuildPackage,uboot-envtools))