Revert "ANDROID: kbuild: handle excessively long argument lists"

This reverts commit f50aeaf27cfb ("ANDROID: kbuild: handle excessively
long argument lists") since it causes regression in how kbuild handles
dependencies.

Bug: 175420575
Change-Id: I5ed5e883e7b0886dee8491dd888aa82d42452e79
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 1d96981..17d04ea 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -440,15 +440,10 @@
 cmd_link_multi-m =						\
 	$(cmd_update_lto_symversions);				\
 	rm -f $@; 						\
-	$(file >$@.in,$(filter %.o,$^))				\
-	$(AR) cDPrsT $@ @$@.in;					\
-	rm -f $@.in
+	$(AR) cDPrsT $@ $(filter %.o,$^)
 else
 quiet_cmd_link_multi-m = LD [M]  $@
-cmd_link_multi-m =						\
-	$(file >$@.in,$(filter %.o,$^))				\
-	$(LD) $(ld_flags) -r -o $@ @$@.in;			\
-	rm -f $@.in
+      cmd_link_multi-m = $(LD) $(ld_flags) -r -o $@ $(filter %.o,$^)
 endif
 
 $(multi-used-m): FORCE