Create LKMC packages to have a nice run mechanism for third party packages like dhrystone
In LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc we basically can nicely run 3 types of things:
- full system linux kerne
- userland
- baremetal
However, more and more, we want nice interfaces to run other third party programs, notably benchmarks like Dhrystone, and notably in userland simulation.
Currently, we just have a shitty interface for it as shown in https://cirosantilli.com/linux-kernel-module-cheat/#dhrystone
./run --userland "$(./getvar userland_build_dir)/submodules/dhrystone/dhrystone"
What would be amazing is if we had proper "LKMC packages", maybe similar to: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/116 and the ncould do just:
./run dhrystone
./run userland c/hello
./run linux
./run baremetal
and then make userland, linux and baremetal into regular packages.
The packages could also generate Bash command strings to run the packages withing full system Linux simulation.