Created
August 30, 2019 11:39
-
-
Save 4ge32/6b4a58fbfce3c5b6ac3012a93f400263 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/Makefile.build b/scripts/Makefile.build | |
index 0d434d0afc0b..63eb7ab3e06a 100644 | |
--- a/scripts/Makefile.build | |
+++ b/scripts/Makefile.build | |
@@ -458,7 +458,7 @@ endif | |
# module is turned into a multi object module, $^ will contain header file | |
# dependencies recorded in the .*.cmd file. | |
quiet_cmd_link_multi-m = LD [M] $@ | |
- cmd_link_multi-m = $(LD) $(ld_flags) -r -o $@ $(filter %.o,$^) | |
+ cmd_link_multi-m = $(LD) $(ld_flags) -r -o $@ $(filter %.o %.a,$^) | |
$(multi-used-m): FORCE | |
$(call if_changed,link_multi-m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great!