Commit graph

5 commits

Author SHA1 Message Date
Michael Heimpold
e97706c02b libcanfestival: define package build directory explicitly
This should fix the build on LEDE buildbots which bail out with:

-snip-
...
! -d ./src/ ] || cp -fpR ./src/* /data/bowl-builder/arm_arm926ej-s/build/ (wrapped)
  sdk/build_dir/target-arm_arm926ej-s_musl-1.1.15_eabi/libcanfestival-8bfe0ac0

Applying ./patches/001-sigval-ref-fix.patch using plaintext:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/drivers/timers_unix/timers_unix.c
|+++ b/drivers/timers_unix/timers_unix.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch failed!  Please fix ./patches/001-sigval-ref-fix.patch!
...
-snap-

Reason is, that the tar ball created by hg checkout does not contain the
version string appended to the root source directory as expected by
default PKG_BUILD_DIR, so this patch adjusts the expected directory name.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-27 21:45:39 +01:00
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>
2016-11-28 09:10:27 +01:00
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>
2016-09-03 22:33:08 +02:00
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>
2016-09-03 00:00:54 +02:00
Anton Glukhov
ce7ae15a98 Canfestival library: add new package
Signed-off-by: Anton Glukhov <anton.a.glukhov@gmail.com>
2015-09-26 04:50:40 +03:00