2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=uboot-envtools
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/u/uboot-envtools/
17 include $(INCLUDE_DIR)/package.mk
19 define Package/uboot-envtools
22 TITLE:=read/modify U-Boot bootloader environment
23 DEPENDS:= @LINUX_2_6 +zlib
26 define Package/uboot-envtools/description
27 This package includes tools to read and modify U-Boot bootloader environment.
30 define Package/uboot-envtools/install
31 $(INSTALL_DIR) $(1)/usr/sbin
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
33 ln -sf fw_printenv $(1)/usr/sbin/fw_setenv
36 $(eval $(call BuildPackage,uboot-envtools))