__KERNEL__
This commit is contained in:
@ -3,13 +3,13 @@ OBJS = init.o mem.o debug.o mikc.o listeners.o ap.o syscall.o cls.o host.o
|
||||
OBJS += process.o copy.o
|
||||
DEPSRCS=$(wildcard $(SRC)/*.c)
|
||||
|
||||
include $(SRC)/configs/config.$(TARGET)
|
||||
include $(AALBASE)/Makefile.common
|
||||
|
||||
CFLAGS += -I$(SRC)/include -mcmodel=kernel
|
||||
CFLAGS += -I$(SRC)/include -mcmodel=kernel -D__KERNEL__
|
||||
LDFLAGS += -e arch_start
|
||||
AALOBJ = aal/aal.o
|
||||
|
||||
include $(SRC)/configs/config.$(TARGET)
|
||||
include $(AALBASE)/Makefile.common
|
||||
|
||||
SUBCMD_OPTS = TARGET=$(TARGET) O=$(CURDIR)/aal CC=$(CC) LD=$(LD)
|
||||
|
||||
ld_kern_cmd_base = $(LD) $(LDFLAGS) -o $@.elf $^
|
||||
|
||||
Reference in New Issue
Block a user