You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tuxmake: accept Kbuild targets as positional arguments
Building a single file or subdir needs dropping into the container
and running make manually.
Accept positional names that contain / or end in .o or .ko. Pass
them to make:
tuxmake drivers/mmc/
tuxmake config kernel/livepatch/patch.o
Add a --make-target flag for the same:
tuxmake --make-target=drivers/mmc/
Bareword typos still fail with UnsupportedTarget.
Works with --toolchain and --runtime like other flags.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
help="Kernel image to build, overriding the default image name for the target architecture.",
106
106
)
107
+
target.add_argument(
108
+
"-M",
109
+
"--make-target",
110
+
type=str,
111
+
action="append",
112
+
default=[],
113
+
help="Arbitrary Kbuild target to pass to make, e.g. drivers/mmc/ or kernel/livepatch/patch.o. Can be specified multiple times. Kbuild-like positional targets (with / or .o/.ko extensions) also work without this flag.",
0 commit comments