aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2014-02-18 22:11:24 +0000
committerNicolas Thill <nico@openwrt.org>2014-02-18 22:11:24 +0000
commitece85d2d259713ba4c345152ab5747342b747688 (patch)
tree2b1bf6a116eca5b701d553ed1bead15394ebe40b /package/boot/uboot-envtools/Makefile
parent97faa098a2d03e4e7bb72f8b111cbb9afe90512e (diff)
downloadupstream-ece85d2d259713ba4c345152ab5747342b747688.tar.gz
upstream-ece85d2d259713ba4c345152ab5747342b747688.tar.bz2
upstream-ece85d2d259713ba4c345152ab5747342b747688.zip
uboot-envtools: pass target cflags
SVN-Revision: 39629
Diffstat (limited to 'package/boot/uboot-envtools/Makefile')
-rw-r--r--package/boot/uboot-envtools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile
index 8f052889e9..631032c247 100644
--- a/package/boot/uboot-envtools/Makefile
+++ b/package/boot/uboot-envtools/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=uboot-envtools
PKG_DISTNAME:=u-boot
PKG_VERSION:=2013.10
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
@@ -41,6 +41,7 @@ define Build/Compile
touch $(PKG_BUILD_DIR)/include/config.h
$(MAKE) -C $(PKG_BUILD_DIR) \
HOSTCC="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gcc" \
+ HOSTOPTFLAGS="$(TARGET_CFLAGS)" \
HOSTSTRIP="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip" \
env
endef