summaryrefslogtreecommitdiff
path: root/package/u-boot-git/Makefile
diff options
context:
space:
mode:
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)