summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Suykov <alex.suykov@gmail.com>2017-10-03 08:37:37 (GMT)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-05 18:34:01 (GMT)
commit3c10ba4b1eba589096447cce9b77191dc2d8388d (patch)
tree68eacf8500e5b87b78a8ec8c23a314ae2dda7a01
parentd2268adf5b9e19fba6094f53e397168c8a4b8abb (diff)
downloadbuildroot-3c10ba4b1eba589096447cce9b77191dc2d8388d.tar.gz
buildroot-3c10ba4b1eba589096447cce9b77191dc2d8388d.tar.bz2
vboot-utils: disable static futility
Possibly fixes http://autobuild.buildroot.net/results/fbe/fbe7892539cc1bf18f89d18c6609a5aa747647d0/ http://autobuild.buildroot.net/results/4bc/4bc388618ff02dde26ae09db021434a936c8cc1b/ and similar errors. Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Tested-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/vboot-utils/0004-Disable-static-futility.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/vboot-utils/0004-Disable-static-futility.patch b/package/vboot-utils/0004-Disable-static-futility.patch
new file mode 100644
index 0000000..649d316
--- /dev/null
+++ b/package/vboot-utils/0004-Disable-static-futility.patch
@@ -0,0 +1,30 @@
+The package attempts to build a statically-linked host binary, futility_s,
+which is not used anywhere in buildroot but may be causing build failures
+if the build host lacks static libc.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+
+--- a/Makefile
++++ b/Makefile
+@@ -1079,7 +1079,7 @@
+ # new Firmware Utility
+
+ .PHONY: futil
+-futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN}
++futil: ${FUTIL_BIN}
+
+ ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${UTILLIB}
+ @${PRINTF} " LD $(subst ${BUILD}/,,$@)\n"
+@@ -1091,10 +1091,10 @@
+ ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} $^ ${LDLIBS}
+
+ .PHONY: futil_install
+-futil_install: ${FUTIL_BIN} ${FUTIL_STATIC_BIN}
++futil_install: ${FUTIL_BIN}
+ @${PRINTF} " INSTALL futility\n"
+ ${Q}mkdir -p ${UB_DIR}
+- ${Q}${INSTALL} -t ${UB_DIR} ${FUTIL_BIN} ${FUTIL_STATIC_BIN}
++ ${Q}${INSTALL} -t ${UB_DIR} ${FUTIL_BIN}
+ ${Q}for prog in ${FUTIL_SYMLINKS}; do \
+ ln -sf futility "${UB_DIR}/$$prog"; done
+