diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-18 14:21:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-18 14:21:30 +0100 |
commit | 3114feafb161360c6bd4ecb2ab315c9aec7ef54e (patch) | |
tree | 48e97581861f32751c131046ec43123bbb1bcf18 /package/u-boot | |
parent | 3798b63c5f2b0baea3b24be48ede03bfbef7d81b (diff) |
add fw_printenv/fw_setenv
Diffstat (limited to 'package/u-boot')
-rw-r--r-- | package/u-boot/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile index 276c0fc20..8e273ffcb 100644 --- a/package/u-boot/Makefile +++ b/package/u-boot/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= u-boot PKG_VERSION:= 2015.01 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_HASH:= 383051a656ebe11757b17d38a3326387e4a1b0949ca8a9e8ee506bf71dac9fde PKG_DESCR:= portable bootloader PKG_SECTION:= base/boot @@ -14,6 +14,8 @@ PKG_BUILDDEP:= u-boot-host PKG_URL:= http://www.denx.de/wiki/U-Boot PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/ +PKG_CFLINE_U_BOOT:= select ADK_KERNEL_ATAGS if ADK_TARGET_ARCH_ARM + DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 atmel-ngw100 @@ -47,7 +49,7 @@ host-build: $(HOST_MAKE_FLAGS) tools $(MAKE_TRACE) ) u-boot-hostinstall: - $(INSTALL_BIN) $(WRKBUILD)/tools/mkimage \ + $(INSTALL_BIN) $(WRKBUILD)/tools/mk{,env}image \ $(STAGING_HOST_DIR)/usr/bin do-configure: @@ -56,9 +58,19 @@ do-configure: do-build: (cd $(WRKBUILD) && env CROSS_COMPILE='$(TARGET_CROSS)' \ GCC_HONOUR_COPTS=s $(MAKE)) + (cd $(WRKBUILD) && env CROSS_COMPILE='$(TARGET_CROSS)' \ + GCC_HONOUR_COPTS=s $(MAKE) env) u-boot-install: $(CP) $(WRKBUILD)/u-boot.bin $(FW_DIR) + $(INSTALL_DIR) $(IDIR_U_BOOT)/etc + $(CP) ./files/fw_env.config $(IDIR_U_BOOT)/etc + $(INSTALL_DIR) $(IDIR_U_BOOT)/usr/bin + $(INSTALL_BIN) $(WRKBUILD)/tools/env/fw_printenv \ + $(IDIR_U_BOOT)/usr/bin + (cd $(IDIR_U_BOOT)/usr/bin && ln -sf fw_printenv fw_setenv) + $(INSTALL_BIN) ./files/uboot_print_env $(IDIR_U_BOOT)/usr/bin + $(INSTALL_BIN) ./files/uboot_set_env $(IDIR_U_BOOT)/usr/bin include $(ADK_TOPDIR)/mk/host-bottom.mk include $(ADK_TOPDIR)/mk/pkg-bottom.mk |