mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:27:36 +00:00
Meta: Allow running run.sh from any where by setting SERENITY_BUILD
If SERENITY_BUILD is not set or empty, SERENITY_BUILD is treated as if it was set to '.'. `run.sh` will cd to SERENITY_BUILD before running the emulator. Also, export SERENITY_BUILD in `Meta/CLion/run.sh` since we are using it in `Meta/run.sh`. Also, allow using a different bochs configuration file by setting the SERENITY_BOCHSRC variable.
This commit is contained in:
parent
aabb482d5c
commit
1d9791bcdf
2 changed files with 15 additions and 1 deletions
|
@ -7,6 +7,7 @@ export SERENITY_RAM_SIZE
|
|||
|
||||
# set this to the Build directory in serenity
|
||||
: "${SERENITY_BUILD:='/mnt/c/Users/Ragnarok/serenity-project/serenity/Build'}"
|
||||
export SERENITY_BUILD
|
||||
|
||||
cd -P -- "$SERENITY_BUILD" || exit
|
||||
make install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue