Skip to content

Positional make targets#274

Open
roxell wants to merge 2 commits intokernelci:masterfrom
roxell:positional-make-targets
Open

Positional make targets#274
roxell wants to merge 2 commits intokernelci:masterfrom
roxell:positional-make-targets

Conversation

@roxell
Copy link
Copy Markdown
Collaborator

@roxell roxell commented Apr 15, 2026

Make tuxmake CLI accept positional args like plain make.

Typos still fail upfront. Explicit --kconfig wins if both are given.

roxell added 2 commits April 15, 2026 10:42
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>
Positional arguments ending in "config" are now treated as the
kconfig value when --kconfig is not set explicitly. Matches the
behavior of plain make:

  tuxmake --target-arch=x86_64 defconfig
  tuxmake --target-arch=arm multi_v7_defconfig
  tuxmake --target-arch=arm allmodconfig

Explicit --kconfig wins if both are given.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant