coreboot-kgpe-d16/payloads
Christian Ruppert 74b659992b Respect linker order
Linking fails when using -Wl,--as-needed and/or esp. when forcing --as-needed
through a compiler specs file.
A proper compile/link command would look like: $(CC) $(CFLAGS) $(LDFLAGS) -o foo
$(OBJS) $(LIBS). So the *FLAGS must be passed *before* the objects while the
libraries/dependencies must be passed *after* the objects.
For more details see: http://www.gentoo.org/proj/en/qa/asneeded.xml

Change-Id: I5a5b05e1cab8a2d88ce56c92d9b2f991ca1ee6c0
Signed-off-by: Christian Ruppert <idl0r@qasl.de>
Reviewed-on: http://review.coreboot.org/494
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2011-12-21 16:27:01 +01:00
..
bayou Run dos2unix on bayou and remove white space at the end of lines. 2011-10-31 21:29:31 +01:00
coreinfo Respect linker order 2011-12-21 16:27:01 +01:00
external FILO: Pass LIBCONFIG_PATH variable to FILOs make 2011-10-23 19:20:16 +02:00
libpayload Respect linker order 2011-12-21 16:27:01 +01:00