Use our own toolchain instead of the one in the image

Now that we are adding our own target we can compile our own toolchain
instead of using the stock one. This does mean that there isn't really a
purpose to using the alpine cc65 image though
This commit is contained in:
Byron Lathi
2022-04-20 12:39:40 -05:00
parent 686630e79f
commit aa717685e3
9 changed files with 38 additions and 13 deletions

View File

@@ -1,11 +1,14 @@
.PHONY: all install bootloader kernel clean
all: bootloader kernel
all: toolchain bootloader kernel
install: all
sh script/format_disk.sh
sh script/copy_files.sh
toolchain:
@$(MAKE) -j4 -C cc65
bootloader:
@$(MAKE) -C bootloader
@@ -15,4 +18,5 @@ kernel:
clean:
@$(MAKE) -C bootloader --no-print-directory $@
@$(MAKE) -C kernel --no-print-directory $@
@$(MAKE) -C kernel --no-print-directory $@
@$(MAKE) -C cc65 --no-print-directory $@