Let users provide their own startup.cfg without pain

Users can now edit base_image/startup.cfg without git paying attention
to it. Typing `make` and using the default works, too.
This commit is contained in:
jn 2023-01-30 20:43:59 +01:00
parent 38ccc043c1
commit c9457baa42
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
**/icons.inc **/icons.inc
**/fox32os.img **/fox32os.img
**/fox32os.img.tmp **/fox32os.img.tmp
**/startup.cfg

View File

@ -44,7 +44,11 @@ applications/launcher/icons.inc: applications/launcher/icons.png
bootloader/bootloader.bin: bootloader/main.asm $(wildcard bootloader/*.asm) bootloader/bootloader.bin: bootloader/main.asm $(wildcard bootloader/*.asm)
$(FOX32ASM) $< $@ $(FOX32ASM) $< $@
base_image/startup.cfg: base_image/startup.cfg.default
cp $< $@
FILES = \ FILES = \
base_image/startup.cfg \
base_image/kernel.fxf \ base_image/kernel.fxf \
base_image/sh.fxf \ base_image/sh.fxf \
base_image/barclock.fxf \ base_image/barclock.fxf \