footer.mk 343B

12345678910111213
  1. # Included at the bottom of each subdirectory Makefile
  2. # Include any subdirectory Makefiles
  3. ifneq (,$(SUBDIRS))
  4. include $(patsubst %,$(d)/%/kernel.mk,$(SUBDIRS))
  5. endif
  6. # Pop the previous directory off the 'stack'
  7. d := $(dirstack_$(sp))
  8. sp := $(basename $(sp))
  9. # Clear SUBDIRS so that it defaults to empty for the next directory
  10. SUBDIRS :=