projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uboot-envtools: pass target cflags
[openwrt.git]
/
package
/
boot
/
uboot-envtools
/
Makefile
diff --git
a/package/boot/uboot-envtools/Makefile
b/package/boot/uboot-envtools/Makefile
index
8f05288
..
631032c
100644
(file)
--- 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_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:= \
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" \
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
HOSTSTRIP="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip" \
env
endef