summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2012-08-09 15:53:49 +0800
committerGerrit <chrome-bot@google.com>2012-08-09 19:18:21 -0700
commit64a2aff9622b6fca8b0d6e2ed62291a1cf38412f (patch)
tree98594ad8d70c439a2112fbefd483d5b4ee142a4b
parentb7adca3f4cd20795227575767076365345b2d859 (diff)
downloadvboot-64a2aff9622b6fca8b0d6e2ed62291a1cf38412f.tar.gz
bmplk_utility: Libraries should be in end of build command.
Libraries (-llzma, -lyaml) should be in end of dependency list, otherwise linking in static mode (-static) would fail. BUG=none TEST=emerge vboot_reference Change-Id: Idd072443d042edfb214f5a958abd064bc18573ed Reviewed-on: https://gerrit.chromium.org/gerrit/29738 Tested-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org> Commit-Ready: Hung-Te Lin <hungte@chromium.org>
-rw-r--r--utility/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/Makefile b/utility/Makefile
index 783b1735..128e087f 100644
--- a/utility/Makefile
+++ b/utility/Makefile
@@ -108,7 +108,7 @@ ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \
${BUILD_ROOT}/image_types.o \
${BUILD_ROOT}/eficompress.o \
${BUILD_ROOT}/efidecompress.o
- $(CXX) -llzma -lyaml $(CFLAGS) $^ -o $@
+ $(CXX) $(CFLAGS) $^ -o $@ -llzma -lyaml
${BUILD_ROOT}/bmpblk_font: ${BUILD_ROOT}/bmpblk_font.o \
${BUILD_ROOT}/image_types.o