1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00

Fix Makefile target "clean"

This commit is contained in:
Braiden Vasco 2017-11-08 08:58:02 +00:00
parent fca1b839ff
commit 3b4df2aac2
3 changed files with 12 additions and 3 deletions

View file

@ -17,10 +17,10 @@ test: run-test
##########
all-kernel: all-libk
make all -C arch/$(ARCH)
make all -C arch
clean-kernel:
make clean -C arch/$(ARCH)
make clean -C arch
#######
# ISO #

10
arch/Makefile Normal file
View file

@ -0,0 +1,10 @@
ARCHES = $(shell ls -d */)
ARCHES := $(ARCHES:/=)
all:
make all -C $(ARCH)
clean: $(addprefix clean-, $(ARCHES))
clean-%:
make clean -C $*

View file

@ -1 +0,0 @@
clean: