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:
parent
fca1b839ff
commit
3b4df2aac2
3 changed files with 12 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -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
10
arch/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
ARCHES = $(shell ls -d */)
|
||||
ARCHES := $(ARCHES:/=)
|
||||
|
||||
all:
|
||||
make all -C $(ARCH)
|
||||
|
||||
clean: $(addprefix clean-, $(ARCHES))
|
||||
|
||||
clean-%:
|
||||
make clean -C $*
|
|
@ -1 +0,0 @@
|
|||
clean:
|
Loading…
Reference in a new issue