From: Petteri Aimonen Date: Sun, 29 Dec 2013 18:41:36 +0000 (+0200) Subject: Fix path change: compat/ -> extra/ X-Git-Tag: 3.99.1~14^2~281 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ae7b9a3bd3f54b5d0ba2db428944e38a3cd7b6a2;p=apps%2Flow-level-can-service.git Fix path change: compat/ -> extra/ --- diff --git a/docs/index.rst b/docs/index.rst index 27840f7..7bd1794 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -104,11 +104,12 @@ requires a few header files to be available: #) *stdbool.h*, for definition of *bool* If these header files do not come with your compiler, you can use the -file *compat/pb_syshdr.h* instead. It contains an example of how to provide +file *extra/pb_syshdr.h* instead. It contains an example of how to provide the dependencies. You may have to edit it a bit to suit your custom platform. -To use the pb_syshdr.h, define *PB_SYSTEM_HEADER* to be the name of your custom -header file. It should provide all the dependencies listed above. +To use the pb_syshdr.h, define *PB_SYSTEM_HEADER* as *"pb_syshdr.h"* (including the quotes). +Similarly, you can provide a custom include file, which should provide all the dependencies +listed above. Running the test cases ====================== diff --git a/tests/SConstruct b/tests/SConstruct index c1defe9..566b479 100644 --- a/tests/SConstruct +++ b/tests/SConstruct @@ -52,7 +52,7 @@ if not env.GetOption('clean'): string = conf.CheckCHeader('string.h') if not stdbool or not stdint or not stddef or not string: conf.env.Append(CPPDEFINES = {'PB_SYSTEM_HEADER': '\\"pb_syshdr.h\\"'}) - conf.env.Append(CPPPATH = "#../compat") + conf.env.Append(CPPPATH = "#../extra") if stdbool: conf.env.Append(CPPDEFINES = {'HAVE_STDBOOL_H': 1}) if stdint: conf.env.Append(CPPDEFINES = {'HAVE_STDINT_H': 1})