Commenting and cleanup

This commit is contained in:
2018-02-02 13:27:18 +01:00
parent 2451851b9f
commit eed3bb693b
3 changed files with 11 additions and 7 deletions

View File

@@ -2,16 +2,17 @@ ifeq ($(MITTOS64),)
$(error Unsupported environment! See README)
endif
.PHONY: kernel clean
CC = x86_64-elf-gcc
all: kernel
kernel:
ifeq ($(shell make -sqC src/kernel || echo 1), 1)
$(MAKE) -C src/kernel install
CC=$(CC) $(MAKE) -C src/kernel install
endif
clean:
$(MAKE) -C src/kernel clean
rm -rf sysroot
.PHONY: kernel clean