summaryrefslogtreecommitdiff
path: root/package/uboot-envtools/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-01 09:23:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-01 09:23:28 +0000
commit3ac119b8cfbbe692b453917e4d9f9ff2ab16ad44 (patch)
tree0d8bc2a9884adc0313e2799bbd7f43ace523904a /package/uboot-envtools/Makefile
parentc5ff1e8e96547e34425573fad82d5226f6e3c3a7 (diff)
downloadmtk-20170518-3ac119b8cfbbe692b453917e4d9f9ff2ab16ad44.zip
mtk-20170518-3ac119b8cfbbe692b453917e4d9f9ff2ab16ad44.tar.gz
mtk-20170518-3ac119b8cfbbe692b453917e4d9f9ff2ab16ad44.tar.bz2
package/uboot-envtools: generate config-file from UCI
This adds an init-script for generating /etc/fw_env.config from UCI in case it doesn't exist yet. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 28697
Diffstat (limited to 'package/uboot-envtools/Makefile')
-rw-r--r--package/uboot-envtools/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uboot-envtools/Makefile b/package/uboot-envtools/Makefile
index 600697f..19aebc2 100644
--- a/package/uboot-envtools/Makefile
+++ b/package/uboot-envtools/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=uboot-envtools
PKG_DISTNAME:=u-boot
PKG_VERSION:=2011.06
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
@@ -36,6 +36,8 @@ define Package/uboot-envtools/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
ln -sf fw_printenv $(1)/usr/sbin/fw_setenv
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/uboot-envtools.init $(1)/etc/init.d/uboot-envtools
endef
define Build/Prepare