Root/package/uboot-envtools/Makefile

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

Archive Download this file



interactive