__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
|
OBJS += process.o copy.o
|
||||||
DEPSRCS=$(wildcard $(SRC)/*.c)
|
DEPSRCS=$(wildcard $(SRC)/*.c)
|
||||||
|
|
||||||
include $(SRC)/configs/config.$(TARGET)
|
CFLAGS += -I$(SRC)/include -mcmodel=kernel -D__KERNEL__
|
||||||
include $(AALBASE)/Makefile.common
|
|
||||||
|
|
||||||
CFLAGS += -I$(SRC)/include -mcmodel=kernel
|
|
||||||
LDFLAGS += -e arch_start
|
LDFLAGS += -e arch_start
|
||||||
AALOBJ = aal/aal.o
|
AALOBJ = aal/aal.o
|
||||||
|
|
||||||
|
include $(SRC)/configs/config.$(TARGET)
|
||||||
|
include $(AALBASE)/Makefile.common
|
||||||
|
|
||||||
SUBCMD_OPTS = TARGET=$(TARGET) O=$(CURDIR)/aal CC=$(CC) LD=$(LD)
|
SUBCMD_OPTS = TARGET=$(TARGET) O=$(CURDIR)/aal CC=$(CC) LD=$(LD)
|
||||||
|
|
||||||
ld_kern_cmd_base = $(LD) $(LDFLAGS) -o $@.elf $^
|
ld_kern_cmd_base = $(LD) $(LDFLAGS) -o $@.elf $^
|
||||||
|
|||||||
Reference in New Issue
Block a user