summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 09:33:49 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:16 -0500
commit491a7500fa49b07757aa20095c2593feade88f23 (patch)
tree52bc2845ae4b9e33b031a8f4c99e90e546717ec4
parent9a3eef0e157e3d458d704511a1dabfaea1db31d4 (diff)
downloadmmglue-491a7500fa49b07757aa20095c2593feade88f23.tar.bz2
mmglue-491a7500fa49b07757aa20095c2593feade88f23.tar.xz
mmglue: adjust atomic.h following build-system transition (distinct port dir).
-rw-r--r--arch/nt32/atomic.h2
-rw-r--r--arch/nt64/atomic.h2
-rw-r--r--config.project1
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/nt32/atomic.h b/arch/nt32/atomic.h
index d7d9365..16fe1a2 100644
--- a/arch/nt32/atomic.h
+++ b/arch/nt32/atomic.h
@@ -1,7 +1,7 @@
#ifndef _INTERNAL_ATOMIC_NT64_H
#define _INTERNAL_ATOMIC_NT64_H
-#include "../i386/atomic.h"
+#include "i386/atomic.h"
#endif
diff --git a/arch/nt64/atomic.h b/arch/nt64/atomic.h
index a2b141a..9f18e3c 100644
--- a/arch/nt64/atomic.h
+++ b/arch/nt64/atomic.h
@@ -1,7 +1,7 @@
#ifndef _INTERNAL_ATOMIC_NT64_H
#define _INTERNAL_ATOMIC_NT64_H
-#include "../x86_64/atomic.h"
+#include "x86_64/atomic.h"
#endif
diff --git a/config.project b/config.project
index 17deff0..a5b4132 100644
--- a/config.project
+++ b/config.project
@@ -35,6 +35,7 @@ mb_default_cflags_common="$mb_default_cflags_common -ffreestanding -nostdinc"
mb_default_cflags_common="$mb_default_cflags_common -fomit-frame-pointer"
mb_default_cflags_common="$mb_default_cflags_common -Ibuild/include"
mb_default_cflags_common="$mb_default_cflags_common -I\$(PORT_DIR)/arch/\$(ARCH)"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/arch"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/include"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/internal"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include"