2 CXXFLAGS += -mno-red-zone -mcmodel=kernel -fno-omit-frame-pointer
4 $(BUILDDIR)/kernel: $(OBJS) $(DIR)linker-script
5 @echo $(COMP): Linking kernel: $@
7 @$(LD) $(OBJS) -o "$@" -T$(DIR)linker-script
9 $(BUILDDIR)/kernel.stripped: $(BUILDDIR)/kernel
10 @echo $(COMP): Stripping kernel: $@
11 @$(STRIP) $(BUILDDIR)/kernel -o "$@"