fix: depending arch in Makefile (POSTK_DEBUG_ARCH_DEP_1)

This commit is contained in:
Ken Sato
2017-11-20 14:45:18 +09:00
parent 90c0355d90
commit ac25c5e1e7
2 changed files with 3 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ IHK_BASE=$(src)/../../../../ihk
obj-m += mcctrl.o
# POSTK_DEBUG_ARCH_DEP_1, arch depend "-mcmodel"
# POSTK_DEBUG_ARCH_DEP_83, arch depend translate_rva_to_rpa() move
ccflags-y := -I$(IHK_BASE)/linux/include \
-I$(IHK_BASE)/linux/include/ihk/arch/$(ARCH) \
@@ -24,9 +23,8 @@ ccflags-y := -I$(IHK_BASE)/linux/include \
-I$(src)/../../../kernel/include \
-DMCEXEC_PATH=\"$(BINDIR)/mcexec\"
ifneq ($(ARCH), arm64)
ccflags-y += -mno-red-zone -mcmodel=kernel
endif
# depending arch
include @abs_builddir@/arch/$(ARCH)/Makefile
mcctrl-y := driver.o control.o ikc.o syscall.o procfs.o binfmt_mcexec.o
mcctrl-y += sysfs.o sysfs_files.o arch/$(ARCH)/archdeps.o

View File

@@ -1 +1 @@
# dummy file
ccflags-y += -mno-red-zone -mcmodel=kernel