zephyr/samples/net
Inaky Perez-Gonzalez 3d498dd10c build: workaround build bug in tests
When an app uses a construct such as:

obj-y = main.o ../../../../samples/bluetooth/gatt/hrs.o

in its makefile, it causes said object module to be built in the
source tree, not in the object tree.

When building massively parallel, this usually resuls on the files
getting corrupted, leading to bugs such as:

https://jira.zephyrproject.org/browse/ZEP-2316
https://jira.zephyrproject.org/browse/ZEP-2317

src/../../../../samples/bluetooth/gatt/.gap.o.cmd:3: warning: NUL character seen; rest of line ignored
src/../../../../samples/bluetooth/gatt/.gap.o.cmd:4: warning: NUL character seen; rest of line ignored
src/../../../../samples/bluetooth/gatt/.gap.o.cmd:5: *** missing separator.  Stop.

as multiple build are trying to touch the same file in the source tree
and of course, race and causes a build bug.

We have known about this issue for a long time, but it requires
modifications in the build system that there is no time to tackle.

A suggested workaround is to include the source files into a local .c
file, so this is what this patch does, to remove the random noise.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2017-07-27 14:09:40 -04:00
..
coaps_client net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
coaps_server net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
common
dhcpv4_client net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
dns_resolve net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
echo_client net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
echo_server net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
http_client net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
http_server net: http_server: Enable Bluetooth stack if configured 2017-07-27 16:51:55 +03:00
https_client net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
ieee802154 build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
irc_bot net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
leds_demo build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
mbedtls_dtlsclient net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
mbedtls_dtlsserver net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
mbedtls_sslclient samples: net: fix stack definitions 2017-07-26 05:53:14 -04:00
mqtt_publisher build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
nats net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
sockets net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
telnet net: enable SLIP only on QEMU targets 2017-07-26 10:57:48 -04:00
wpan_serial
wpanusb
zoap_client build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
zoap_server build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
zperf build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
net.rst