zephyr/tests/unit
Sebastian Bøe abbdd88683 cmake: Fix EXTRA_LDFLAGS feature
It is supported to add give extra flags to the linker from the
commandline like this:

cmake -DEXTRA_LDFLAGS=-Lmy_dir path

But unfortunately this was broken during the CMake
migration. Interestingly, the reason that it was broken is that KBuild
was also partially broken. KBuild would pass on EXTRA_LDFLAGS when
object files were linked together into built-in.o files, but it would
not use EXTRA_LDFLAGS for the final link into an elf file.

This patch fixes EXTRA_LDFLAGS.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2017-12-05 08:39:43 -05:00
..
bluetooth/at kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
drivers/crc kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
net/buf kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
unittest.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00