summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/Makefile.mk3
-rw-r--r--src/northbridge/intel/sandybridge/mrc_wrapper.S2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/x86/Makefile.mk b/src/arch/x86/Makefile.mk
index cf5b2bbb57..2832ac36f5 100644
--- a/src/arch/x86/Makefile.mk
+++ b/src/arch/x86/Makefile.mk
@@ -58,9 +58,6 @@ define x86_stage
# $1 stage name
# $2 oformat
-# The '.' include path is needed for the generated assembly.inc file.
-$(1)-S-ccopts += -I.
-
$$(objcbfs)/$(1).debug: $$$$($(1)-libs) $$$$($(1)-objs)
@printf " LINK $$(subst $$(obj)/,,$$(@))\n"
$$(LD_$(1)) $$(LDFLAGS_$(1)) -o $$@ -L$$(obj) $$(COMPILER_RT_FLAGS_$(1)) --whole-archive --start-group $$(filter-out %.ld,$$($(1)-objs)) $$($(1)-libs) --no-whole-archive $$(COMPILER_RT_$(1)) --end-group -T $(call src-to-obj,$(1),$(CONFIG_MEMLAYOUT_LD_FILE)) --oformat $(2)
diff --git a/src/northbridge/intel/sandybridge/mrc_wrapper.S b/src/northbridge/intel/sandybridge/mrc_wrapper.S
index d68ce091a4..493f808413 100644
--- a/src/northbridge/intel/sandybridge/mrc_wrapper.S
+++ b/src/northbridge/intel/sandybridge/mrc_wrapper.S
@@ -32,6 +32,6 @@ mrc_wrapper:
* function do_putchar to print to console.
*/
-#include <src/cpu/x86/64bit/prot2long.inc>
+#include <cpu/x86/64bit/prot2long.inc>
prot2lm_wrapper do_putchar