]> xenbits.xensource.com Git - unikraft/libs/python3.git/commit
Makefile.uk: Improve generating the python rootfs
authorAndrei Tatar <andrei@unikraft.io>
Tue, 18 Jul 2023 20:31:37 +0000 (22:31 +0200)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 16:00:37 +0000 (16:00 +0000)
commit11c0694f1a69840795241107d3ff019674a1f7e0
treeca9c3bf2cda1dd4682cf7fde379b442f18ef7ff4
parent05f6aeff79ee935905a6dfc990f4e89a49dbd0f1
Makefile.uk: Improve generating the python rootfs

This change reworks the make targets that generate the python rootfs:
- Do not use hardcoded python version
- Provide the option of generating .pyc files in the root or not
- Error out or warn the user if a python version mismatch might subtly
  break the resulting rootfs

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #15
Makefile.uk