ANDROID: build: Fix menuconfig invocation
Commit 02faddf96a
("ANDROID: build: Add build_opts.txt file to
output") changed the way targets are specified. This broke the
menuconfig invocation, so fix it.
Change-Id: I23610538d1dafe1f80acccfb13684819d27ee25e
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
This commit is contained in:
parent
72594b5d98
commit
8b7b9a3b48
@ -259,8 +259,9 @@ class BazelBuilder:
|
||||
def run_menuconfig(self):
|
||||
"""Run menuconfig on all target-variant combos class is initialized with"""
|
||||
for t, v in self.target_list:
|
||||
self.bazel("run", ["//{}:{}_{}_config".format(self.kernel_dir, t, v)],
|
||||
bazel_target_opts=["menuconfig"])
|
||||
menuconfig_label = "//{}:{}_{}_config".format(self.kernel_dir, t, v)
|
||||
menuconfig_target = [Target(self.workspace, t, v, menuconfig_label, self.out_dir)]
|
||||
self.bazel("run", menuconfig_target, bazel_target_opts=["menuconfig"])
|
||||
|
||||
def write_opts(self, out_dir, user_opts=None):
|
||||
with open(os.path.join(out_dir, "build_opts.txt"), "w") as opt_file:
|
||||
|
Loading…
Reference in New Issue
Block a user