Closed mk-pmb closed 4 years ago
Maybe we could just pass everything else on the command line afterbuild
just like in lfs-image
It might also make sense to also omit clean
if custom targets are given.
Maybe we could just pass everything else on the command line after
build
just like inlfs-image
I prefer the env var because it gives those values a name. Makes it easier to understand their role.
It might also make sense to also omit
clean
if custom targets are given.
You're right, thanks! Fixed.
I prefer the env var because it gives those values a name. Makes it easier to understand their role.
True. But just adding the targets after make/build is how it is done on cli and would feel the natural and obvious way to do it.
Actually, why not have both? Once this is merged, you could just make another PR that puts a line like
if [ -n "$*" ]; then BUILD_MAKE_TARGETS=; fi
above the make commands, and add "$@"
to the end of the make command.
Edit: Nope, that would add to the defaults. I'll rewrite my PR so it sets those defaults earlier, so you can overwrite them easier.
Yeah we can have both. Great. Heading for bed again now.
So this one is ready to go?
Sorry, somehow must have lost track of this.
Also thanks for this project! :moneybag: