Makefile 836 B

1234567891011121314151617181920212223242526272829303132333435
  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. DEPENDS:=@BROKEN
  18. TITLE:=read/modify the environment for the bootloader U-Boot
  19. endef
  20. define Package/uboot-envtools/description
  21. endef
  22. define Package/uboot-envtools/install
  23. $(INSTALL_DIR) $(1)/usr/sbin
  24. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
  25. ln -s fw_printenv $(1)/usr/sbin/fw_setenv
  26. endef
  27. $(eval $(call BuildPackage,uboot-envtools))