# 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 :=