mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-04 07:30:59 +00:00
a562acb160
If a project needs to use some libraries at link stage, then the corresponding linker options (e.g. '-lm') have to be passed after any .o file depending on these libraries. Hence, LDFLAGS cannot be used to add such options when invoking $(LD) in Makefile.cc2538, or it should be moved to the correct location. Instead, this change adds TARGET_LIBFILES to the correct location, like most other Contiki targets. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>