13 lines
343 B
Makefile
13 lines
343 B
Makefile
|
# Included at the bottom of each subdirectory Makefile
|
||
|
|
||
|
# Include any subdirectory Makefiles
|
||
|
ifneq (,$(SUBDIRS))
|
||
|
include $(patsubst %,$(d)/%/kernel.mk,$(SUBDIRS))
|
||
|
endif
|
||
|
|
||
|
# Pop the previous directory off the 'stack'
|
||
|
d := $(dirstack_$(sp))
|
||
|
sp := $(basename $(sp))
|
||
|
# Clear SUBDIRS so that it defaults to empty for the next directory
|
||
|
SUBDIRS :=
|