Skip to content

Make $commandWrapper / a new setting work with complex "docker run" scenarios in Makefiles #450

@Erik-Sovereign

Description

@Erik-Sovereign

Is your feature request related to a problem? Please describe.
We use a Makefile with a complex "build" command, that first runs other scripts defined in the Makefile (like the equivalent of "make setup-machine") before it then runs a complex docker run command, that gets multiple ENV variables from its environment and calculated in the Makefile. We would like to mostly continue using this Makefile but use the extension with the container generated in there.

Describe the solution you'd like
The best way would be, if we could give the Make command to the extension. This command then sets up a docker, where bitbake runs. And then it runs bitbake in there.

Describe alternatives you've considered
It would be okay, if we had to create a new Make command for the extension. What seems unrealistic, is to bring all of the logic from the Makefile out of it and into a big $commandWrapper. But if you think, there could be a change for that, please englithen me and I will share more details about this "complex Makefile".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions