auron: fix firmware builder error
BUG=chromium:1006848
TEST=tryjob
Change-Id: I3a6e04867b1e79137a6b1424947b08c3a7e3516e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/1817133
Tested-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Commit-Queue: YH Lin <yueherngl@chromium.org>
diff --git a/build_packages b/build_packages
index f4901fc..6160224 100755
--- a/build_packages
+++ b/build_packages
@@ -24,6 +24,10 @@
"Show all output from parallel_emerge."
DEFINE_boolean withautotest "${FLAGS_TRUE}" \
"Build autotest client code."
+# Add this flag to be compatible with master chromite (but not being used in
+# branch).
+DEFINE_boolean withdebugsymbols "${FLAGS_FALSE}" \
+ "Install the debug symbols for all packages"
DEFINE_boolean fetchonly "${FLAGS_FALSE}" \
"Don't build anything, instead only fetch what is needed."
DEFINE_boolean unpackonly "${FLAGS_FALSE}" \
@@ -265,6 +269,12 @@
trap - EXIT
echo "Builds complete"
+
+if [[ ${FLAGS_withdebugsymbols} -eq ${FLAGS_TRUE} ]]; then
+ info "fetching the debug symbols"
+ # Do nothing as keeping this flag for backward compatibility.
+fi
+
EXTRA_COMMAND_STATS[package_count]=${package_count}
command_completed
echo "Done"