diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-27 13:59:29 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-27 13:59:29 -0600 |
commit | 55bade535d3fca53ff5ceb6e7e1f6ee7369b59fb (patch) | |
tree | 76548649280d5ef5818790cb456c7467dcaa3632 /package/u-boot/patches/patch-Makefile | |
parent | e88b2dabb69234dbfab57592faf9737a7cd226da (diff) |
update u-boot to latest git. make it compilable for raspberry-pi target
Diffstat (limited to 'package/u-boot/patches/patch-Makefile')
-rw-r--r-- | package/u-boot/patches/patch-Makefile | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/package/u-boot/patches/patch-Makefile b/package/u-boot/patches/patch-Makefile deleted file mode 100644 index b2c069111..000000000 --- a/package/u-boot/patches/patch-Makefile +++ /dev/null @@ -1,57 +0,0 @@ -Sometimes it is required to build only host U-Boot tools without building -U-Boot itself for either board. - -For example: - * In "buildroot" "uboot-tools" could be built for host just to have an ability - to create uImage. - * Linux distributions ship "mkimage" utility as a separate substance. - -This patch allows building host U-Boot tools separately from U-Boot itself and -what is more important user only needs to have host compiler (gcc). - -To build host tools just execute: -===== -make tools HOST_TOOLS_ONLY=yes -===== - -Without this patch to generate tools user needs: - 1. Configure any existing board with "make XXX_config" - 2. Execute tools building but still cross-compiler will be invoked and if - there's no proper cross-compiler in PATH compilation will fail. - -Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com> - -Cc: Masahiro Yamada <yamada.m at jp.panasonic.com> -Cc: Tom Rini <trini at ti.com> -Cc: Simon Glass <sjg at chromium.org> - ---- u-boot-2014.07.orig/Makefile 2014-07-14 19:16:45.000000000 +0200 -+++ u-boot-2014.07/Makefile 2014-08-11 10:06:13.315946952 +0200 -@@ -483,9 +483,12 @@ ifeq ($(dot-config),1) - # load other configuration - include $(srctree)/config.mk - -+# Don't check for config.mk presence if building host tools only -+ifneq ($(HOST_TOOLS_ONLY),yes) - ifeq ($(wildcard include/config.mk),) - $(error "System not configured - see README") - endif -+endif - - # If board code explicitly specified LDSCRIPT or CONFIG_SYS_LDSCRIPT, use - # that (or fail if absent). Otherwise, search for a linker script in a -@@ -1055,10 +1058,14 @@ ifeq ($(CONFIG_SYS_GENERIC_BOARD),y) - @/bin/false - endif - endif -+ -+# Don't check for ldscript presence if building host tools only -+ifneq ($(HOST_TOOLS_ONLY),yes) - ifeq ($(wildcard $(LDSCRIPT)),) - @echo >&2 " Could not find linker script." - @/bin/false - endif -+endif - - archprepare: prepare1 scripts_basic - |