summaryrefslogtreecommitdiff
path: root/package/u-boot-git/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-26 14:37:28 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-26 14:37:42 -0500
commitb747c6f5073668d82f4e9cd2485c7f0b2075d9cf (patch)
tree4b469a023bc5842395027cc93884c39f69188814 /package/u-boot-git/Makefile
parent35bc84e5f9e36ed081256d1491822a7c46c9c5c0 (diff)
add dtc host-compile to avoid breakage with older dtc on host
Diffstat (limited to 'package/u-boot-git/Makefile')
-rw-r--r--package/u-boot-git/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/u-boot-git/Makefile b/package/u-boot-git/Makefile
index 47a44cc4a..47fff684e 100644
--- a/package/u-boot-git/Makefile
+++ b/package/u-boot-git/Makefile
@@ -8,8 +8,8 @@ PKG_VERSION:= 3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a
PKG_RELEASE:= 1
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
-HOST_BUILDDEP:= openssl-host
-PKG_BUILDDEP:= u-boot-host
+HOST_BUILDDEP:= openssl-host device-tree-compiler-host
+PKG_BUILDDEP:= u-boot-git-host
PKG_URL:= http://www.denx.de/wiki/U-Boot
PKG_SITES:= git://git.denx.de/u-boot.git
@@ -57,7 +57,9 @@ do-configure:
(cd $(WRKBUILD) && $(MAKE) $(CONFIG))
do-build:
- (cd $(WRKBUILD) && env CROSS_COMPILE='$(TARGET_CROSS)' \
+ (cd $(WRKBUILD) && env \
+ PATH='$(HOST_PATH)' \
+ CROSS_COMPILE='$(TARGET_CROSS)' \
GCC_HONOUR_COPTS=s $(MAKE))
#(cd $(WRKBUILD) && env CROSS_COMPILE='$(TARGET_CROSS)' \
# GCC_HONOUR_COPTS=s $(MAKE) env)