[riot-notifications] [RIOT-OS/RIOT] Makefile.include: RIOTNOLINK ensure linking fails (#11168)

Gaëtan Harter notifications at github.com
Wed Mar 13 15:41:46 CET 2019


cladmi commented on this pull request.



>  endif # RIOTNOLINK
 
 $(ELFFILE): $(BASELIBS)
 	$(Q)$(_LINK) -o $@
 
+# Try to link and ensure it fails
+$(ELFFILE).nolink: FORCE
+$(ELFFILE).nolink: $(BASELIBS)
+	$(Q)\
+	  $(_LINK) -o $(ELFFILE) 2>&1 > $@; \

I left `ELFFILE` on purpose, because you could check the elffile if it succeeds and you would like to analyze it. All the files from `BASELIBS` are also still there.

But I can change it if wanted.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11168#discussion_r265161522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190313/dbb87b63/attachment-0001.html>


More information about the notifications mailing list