Problem with OpenThread build procedure - src/<name.c> file is not included

82 Views Asked by At

I have some problem with build procedure, i.e. after adding new file in openthread/examples/platforms/nrf528xx/nrf52840/Makefile.am in the section PLATFORM_COMMON_SOURCES, this added file is not build during compilation.

I have followed this tutorial: https://codelabs.developers.google.com/codelabs/openthread-apis/#3

I stuck in this point. I cannot figure out how to make it working...

Best regards!

1

There are 1 best solutions below

0
On BEST ANSWER

If you make any change to Makefile.am file, you must run ./bootstrap before compilation. If you don't, any change will be not included in the build process.

Additionally, always clean build directory to be sure that everything will be compiled as you wish.