Makefile 817 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Copyright (C) 2009 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:=1
  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 the environment for the bootloader U-Boot
  18. endef
  19. define Package/uboot-envtools/description
  20. endef
  21. define Package/uboot-envtools/install
  22. $(INSTALL_DIR) $(1)/usr/sbin
  23. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
  24. ln -s fw_printenv $(1)/usr/sbin/fw_setenv
  25. endef
  26. $(eval $(call BuildPackage,uboot-envtools))