mkelfimage: fix target cflags leaks to host

The patch fix-makefile-to-find-libz.patch fixed native
compile failure; for target compile, it incorrectly
leaks CFLAGS to HOST_CFLAGS.

[YOCTO #3547]

(From OE-Core rev: bdd8d79671b9a9fd90d427c9e95ab08af85c394a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia 2016-01-29 12:35:56 -05:00 committed by Richard Purdie
parent c936bf0dfa
commit 770d9ffb58
1 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ DEPENDS += "zlib"
SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
file://cross-compile.patch \
file://fix-makefile-to-find-libz.patch \
"
SRC_URI_append_class-native = " \
file://fix-makefile-to-find-libz.patch \
"
CLEANBROKEN = "1"