aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2015-01-28 16:46:36 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-01-29 20:42:32 +0300
commitcb197cd973230fe765adc159ba82bd9edda0dd9f (patch)
tree9d75caf2e2804da37278c424b53cfc8e7371a93d /scripts
parentc1b9f1d9fca5904f1eae8416a863bf151d53b523 (diff)
api: move generic API into the odp namespace
Move generic API into an api directory. Force the platform implementation to add its own header file that shall include the generic API header file. This splitup enables platform implementors to implement inline functions without modifying the "public" API files. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/odp_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/odp_version.sh b/scripts/odp_version.sh
index 0460e8ce2..d71d2f73f 100755
--- a/scripts/odp_version.sh
+++ b/scripts/odp_version.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VFILE="platform/linux-generic/include/api/odp/version.h"
+VFILE="include/odp/api/version.h"
GEN=`grep "define ODP_VERSION_API_GENERATION" ${VFILE} | cut -d ' ' -f 3`
MAJ=`grep "define ODP_VERSION_API_MAJOR" ${VFILE} | cut -d ' ' -f 3`