arch: x86 -> x86_64 and build system changes
This commit is contained in:
committed by
Hannes Weisbach
parent
51982de36b
commit
43ecf06e83
@@ -16,6 +16,7 @@ endif
|
||||
DEPSRCS=$(wildcard $(SRC)/*.c)
|
||||
|
||||
CFLAGS += -I$(SRC)/include -I@abs_builddir@/../ -I@abs_builddir@/include -D__KERNEL__ -g -fno-omit-frame-pointer -fno-inline -fno-inline-small-functions
|
||||
CFLAGS += -mcmodel=large -mno-red-zone
|
||||
LDFLAGS += -e arch_start
|
||||
IHKOBJ = ihk/ihk.o
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ $(O):
|
||||
@echo 'SRC = $(SRC)' > $@
|
||||
@echo 'IHKBASE = $(IHKBASE)' >> $@
|
||||
@echo 'TARGET = $(notdir $(patsubst %/,%,$(dir $@)))' >> $@
|
||||
@echo 'TARGETDIR = $$(shell echo $$(TARGET) | sed "s/-/\//")' >> $@
|
||||
@echo 'TARGETDIR = smp/$(ARCH)' >> $@
|
||||
@cat Makefile.build >> $@
|
||||
@rm -f $(dir $@)/Makefile.dep
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ extern void arch_fill_prstatus(struct elf_prstatus64 *prstatus, struct thread *t
|
||||
#endif /* __HEADER_ELFCORE_H */
|
||||
#else /* POSTK_DEBUG_ARCH_DEP_18 */
|
||||
#ifdef __x86_64
|
||||
#include "../../arch/x86/kernel/include/elfcore.h"
|
||||
#include "../../arch/x86_64/kernel/include/elfcore.h"
|
||||
#elif __aarch64__
|
||||
#include "../../arch/arm64/kernel/include/elfcore.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user