[Cbe-oss-dev] [PATCH 01/17]MARS/core: Fix lib makefile
Yuji Mano
yuji.mano at am.sony.com
Wed Nov 26 14:39:34 EST 2008
This fixes the core host lib makefile so it creates the .libs directory as
necessary. Other minor cleanups included.
Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
core/src/host/lib/Makefile.am | 6 +++---
core/src/mpu/kernel/Makefile.am | 2 +-
core/src/mpu/lib/Makefile.am | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
--- a/core/src/host/lib/Makefile.am
+++ b/core/src/host/lib/Makefile.am
@@ -68,8 +68,8 @@ pkginclude_HEADERS = \
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/host \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/host \
-I$(srcdir)/../../../src/common
AM_CFLAGS = \
@@ -96,12 +96,12 @@ libmars_core_la_SOURCES = \
mutex.c \
workload_queue.c
-nodist_libmars_core_la_SOURCES = \
- mars_kernel.eo
+nodist_libmars_core_la_SOURCES = mars_kernel.eo
libmars_core_la_DEPENDENCIES = mars_kernel.eo
mars_kernel.eo: ${MARS_KERNEL}
+ @mkdir -p .libs
$(EMBEDSPU) $(CFLAGS) mars_kernel_entry $< $@
$(EMBEDSPU) $(CFLAGS) -fPIC -DPIC mars_kernel_entry $< .libs/$@
--- a/core/src/mpu/kernel/Makefile.am
+++ b/core/src/mpu/kernel/Makefile.am
@@ -60,8 +60,8 @@ MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../src/common \
-I$(srcdir)/../../../src/mpu/lib
--- a/core/src/mpu/lib/Makefile.am
+++ b/core/src/mpu/lib/Makefile.am
@@ -66,8 +66,8 @@ pkginclude_HEADERS = \
AM_CPPFLAGS = \
$(extra_cppflags) \
- -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../include/common \
+ -I$(srcdir)/../../../include/mpu \
-I$(srcdir)/../../../src/common
AM_CFLAGS = \
More information about the cbe-oss-dev
mailing list