aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
AgeCommit message (Collapse)Author
2018-05-28linux-gen: cpu: inline cpu cycle functions on x86Petri Savolainen
Moved cpu cycle and pause functions into arch/x86/odp_arch_cpu_inlines.h. Uncommented pause function in spec file and removed it from ABI file. It's safer for ABI compat mode to not have code included into ABI spec files. Other architectures use the default odp_arch_cpu_inlines.h, which does not change the current implementation. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18include: move visibility headers to generic placeDmitry Eremin-Solenikov
There was an idea that platform might override visibility headers in platform-specific way. For the sake of providing full set of headers for ABI-compatibile case, move those headers to include/ dir. Platform can still override those headers when compiling in non-ABI-compatibile mode. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18linux-gen: remove static_inline.h headerDmitry Eremin-Solenikov
Replace static_inline.h header with unconditional defines of _ODP_INLINE macro (either to 'static inline' or to empty value) depending on the compilation place. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18linux-gen, include: switch cpu.h to api+abiDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18build: add platform dir for non-ABI-compat headersDmitry Eremin-Solenikov
If platform is built in non-ABI-compat mode, it provides its own set of type and enum definitions. Add directory that will hold platform optimized ABI files. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18include: install and use ABI headers only in ABI-compat modeDmitry Eremin-Solenikov
There is no need to install ABI headers (or to have them in include path) in non-ABI-compat mode, they should not be used at all. Still provide default ABI headers, because platform may depend on them. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18build: move ODP include path to common Makefile.incDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-22configure: use stricter warningsMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-07-09Remove duplicate $top_srcdir/includeAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Venkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org> Reviewed-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-Tested-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
2014-07-03Autotoolise build systemAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Steve McIntyre <steve.mcintyre@linaro.org>
2014-06-17Fix the oddity in compiling test applications in no-change rebuild scenario.Jerin Jacob
This is a side effect of using "cp -r" command for copying the header files to build directory. Since the "cp -r" command will not preserve the time stamp of source file while copying,make will treat as new header file and build the test apps again. This can be fixed by adding "-p" option in cp command or using "rsync" to copy the file. "headers_install" target demands for a sync operation rather than copy operation, so rsync may be the right candidate here and it will make sure build/include/*.h clean for back to back different platform build. Reported-by: steve.mcintyre@linaro.org Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
2014-06-17Makefile.inc: Support for controlling the build verbosity.Jerin Jacob
Use make VERBOSE=yes to enable the verbosity. Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2014-06-10Makefile: Invoke platform specific Makefile.inc after common configurationTaras Kondratiuk
Platform specific Makefile.inc should be able to override common configuration, so invoke it at the end. Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
2014-06-05Makefile: support platform specific Makefile.incVincent Hsu
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-05-12tests: Do not use platform directoryTaras Kondratiuk
Test applications should not differ from any other ODP application in a way they use ODP library and headers. They shall use them from DESTDIR. The fact that they are placed in ODP repo do not allow them to abuse it. By using directly library and includes from platform directly we break modularity. Tests' Makefile must have information about platform's include directory structure. So tests' Makefile should be updated every time structure changes. Things get even worse if platform include directory structure differs between implementations (which is a valid case). Removing direct access to platform directory also makes hard to build and install library from tests' Makefile. Only unconditional install is possible, but this adds unnecessary overhead on each test build. So this patch removes this ability. Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
2014-05-12Makefile.inc: ODP_DEBUG_PRINT=no to disable the ODP_DBG macroAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-05-12Makefile.inc: DEBUG=yes to build debugAnders Roxell
DEBUG=yes to add -O0 -g to EXTRA_CFLAGS Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-26Makefile cleanup continuedPetri Savolainen
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
2014-02-25Makefile cleanupPetri Savolainen
- Enabled test level make / make clean without install - Main level Makefile installs files still by default - Moved common stuff into odp/Makefile.inc and odp/test/Makefile.inc Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
2014-02-24Makefiles: Allow CFLAGS to overide the buildMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
2014-02-17Multi-enq and deq operationsPetri Savolainen
- Added multi-buffer enqueue and dequeue operations for queues - And scheduler/packet IO support for those - Added/renamed schedule functions - _poll removed from functions names (default operation) - former odp_schedule() is now odp_schedule_once() - Enabled -O3 optimization (again) Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
2014-02-17makefiles: make the test depend on the install dirAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-17Makefiles: move rm, cp, echo into Makefile.incAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-17Makefile.inc: set default for DESTDIRAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-02-12Netmap pktio exampleCiprian Barbu
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2014-02-12Added support for multiple pktio typesCiprian Barbu
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2014-02-05reorganize makefileMaxim Uvarov
Reorganize source file folder, clean up Makefiles, rename odp.a to libodp.a, install to /usr/local by default Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>