[coreboot] New patch to review for coreboot: 52a7f98 cbfstool: Add -mno-ms-bitfields on (mingw)

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Mon Oct 22 09:31:15 CEST 2012

Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1603


commit 52a7f986e7163b64d833afb1a68670052907263e
Author: Zheng Bao <fishbaozi at gmail.com>
Date:   Mon Oct 22 16:39:24 2012 +0800

    cbfstool: Add -mno-ms-bitfields on (mingw)
    The default gcc on mingw will process the __attribute__ ((packed)) in
    a different way other than non-win system.
    Change-Id: Iac9f4476c922472d0b447f1c3ef60e8e13bd902f
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
 util/cbfstool/Makefile.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index ad2e120..f9aef2e 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -15,6 +15,10 @@ cbfsobj += cbfstool.o
+ifeq ($(shell uname -s | cut -c-7 2>/dev/null), MINGW32)
 	mkdir -p $@

More information about the coreboot mailing list