diff mbox

[PATCHv2,1/3] Add platform-specific Makefile.inc for applications

Message ID 1409220991-12011-2-git-send-email-taras.kondratiuk@linaro.org
State Superseded
Headers show

Commit Message

Taras Kondratiuk Aug. 28, 2014, 10:16 a.m. UTC
Platform-specific Makefile.inc is useful when application need to be
built with platform-specific configuration: SDK search path,
configurations, etc.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Taras Kondratiuk <taras@ti.com>
---
 example/Makefile.inc |    1 +
 test/Makefile.inc    |    1 +
 2 files changed, 2 insertions(+)
 create mode 100644 platform/linux-dpdk/Makefile.inc
 create mode 100644 platform/linux-generic/Makefile.inc
 create mode 100644 platform/linux-keystone2/Makefile.inc
diff mbox

Patch

diff --git a/example/Makefile.inc b/example/Makefile.inc
index b549001..f4bd570 100644
--- a/example/Makefile.inc
+++ b/example/Makefile.inc
@@ -1,4 +1,5 @@ 
 include $(top_srcdir)/Makefile.inc
+include $(top_srcdir)/platform/@with_platform@/Makefile.inc
 LIB   = $(top_builddir)/lib
 LDADD = $(LIB)/libodp.la
 AM_CFLAGS += \
diff --git a/platform/linux-dpdk/Makefile.inc b/platform/linux-dpdk/Makefile.inc
new file mode 100644
index 0000000..e69de29
diff --git a/platform/linux-generic/Makefile.inc b/platform/linux-generic/Makefile.inc
new file mode 100644
index 0000000..e69de29
diff --git a/platform/linux-keystone2/Makefile.inc b/platform/linux-keystone2/Makefile.inc
new file mode 100644
index 0000000..e69de29
diff --git a/test/Makefile.inc b/test/Makefile.inc
index b549001..f4bd570 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -1,4 +1,5 @@ 
 include $(top_srcdir)/Makefile.inc
+include $(top_srcdir)/platform/@with_platform@/Makefile.inc
 LIB   = $(top_builddir)/lib
 LDADD = $(LIB)/libodp.la
 AM_CFLAGS += \