Michael Heimpold
af00af445e
libcanfestival: skip building examples
At the moment, LEDE buildbots are complaining with:
-snip-
...
libcanfestival/examples/TestMasterSlave/TestMasterSlave.c:50: undefined reference to `MasterMap1'
TestMasterSlave.o: In function `InitNodes':
...
-snap-
Since we are only interessted in the library itself, skip compilation
of the example code. This should both fix the build and speedup it
a little bit.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
8 years ago
Michael Heimpold
e1c004dcaa
libcanfestival: fix build on LEDE buildbots using ccache
The previous attempt to fix the build error was not successfull
and introduced needlessly a new patch. However, the configure
already provide the required functionality, use it instead.
This should now really solve the build.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
8 years ago
Michael Heimpold
def97187d2
Treewide fix of typo: PKG_LICENSE_FILE --> PKG_LICENSE_FILES
Without the trailing _S_ the variable is not considered at all.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
8 years ago
Michael Heimpold
8a2d6ceef4
libcanfestival: fix build on LEDE buildbots using ccache
This error is reported:
make -C can_socket driver
make[6]: Entering directory '/data/bowl-builder/arm_arm926ej-s/build/sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival/drivers/can_socket'
ccache_cc -O2 -fPIC -DDEBUG_ERR_CONSOLE_ON -g -I../../include -I../../include/unix -I../../include/can_socket -o can_socket.o -c can_socket.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
ccache_cc -shared -Wl,-soname,libcanfestival_can_socket.so -o libcanfestival_can_socket.so can_socket.o
make[6]: Leaving directory '/data/bowl-builder/arm_arm926ej-s/build/sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival/drivers/can_socket'
make -C unix driver
make[6]: Entering directory '/data/bowl-builder/arm_arm926ej-s/build/sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival/drivers/unix'
ccache_cc -O2 -DDEBUG_ERR_CONSOLE_ON -g -I../../include -I../../include/unix -I../../include/timers_unix -o unix.o -c unix.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
Building [libcanfestival_unix.a]
ccache_ccar rc libcanfestival_unix.a unix.o ../timers_unix/timers_unix.o
make[6]: ccache_ccar: Command not found
Makefile:102: recipe for target 'libcanfestival_unix.a' failed
make[6]: *** [libcanfestival_unix.a] Error 127
make[6]: Leaving directory '/data/bowl-builder/arm_arm926ej-s/build/sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival/drivers/unix'
Makefile:33: recipe for target 'driver' failed
make[5]: *** [driver] Error 2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
8 years ago
Anton Glukhov
ce7ae15a98
Canfestival library: add new package
Signed-off-by: Anton Glukhov <anton.a.glukhov@gmail.com>
9 years ago