1 TOP := $(shell dirname `pwd -P`)
4 include ../Makefile.head
6 CXXINCS += -I$(BUILDDIR)/include -Iinclude
11 # Must come first; contains entry code
12 include arch/$(ARCH)/Makefile
19 include tests/Makefile
21 TARGETS := $(BUILDDIR)/kernel $(BUILDDIR)/kernel.stripped
25 @echo kernel: Creating arch symlink
26 @$(RM) $(BUILDDIR)/include/arch
27 @$(LN) $(shell pwd)/include/arch-$(ARCH) $(BUILDDIR)/include/arch
31 include ../Makefile.tail
33 # Must come last: contains kernel target
34 include arch/$(ARCH)/Makefile.final