]> xenbits.xensource.com Git - unikraft/libs/python3.git/commit
Makefile.uk: Allow configuring with custom config file
authorStefan Jumarea <stefanjumarea02@gmail.com>
Mon, 3 Jul 2023 14:27:29 +0000 (17:27 +0300)
committerUnikraft <monkey@unikraft.io>
Sun, 16 Jul 2023 13:22:54 +0000 (13:22 +0000)
commit6a2ee037e14deaafd08a9ab9462e2e955469ea22
treee9d57f993dfec28dd9e1e7a11d51821a6fcc4818
parent450c3bd82342b4453fa323b283a411871e5e888e
Makefile.uk: Allow configuring with custom config file

The `.config.orig` rule does a backup of the config file before changing
it to set `CONFIG_STACK_SIZE_PAGE_ORDER=10`. This used a hardcoded path
to the default `.config` file instead of `$(C)`, which can be set to a
custom one.

Using a hardcoded path will fail if trying to build with a different
config file than the default one (i.e. using `make C=path-to-config`).
One of the usecases is `kraftkit`, which uses `.config.python3...`
instead of the default `.config` file.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #13
Makefile.uk