]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/Makefile.lib
Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / scripts / Makefile.lib
index c0abd9a779c3b1e2b117508f4b6bb2c25fc4047a..8a1f64f1774091ae2c87f0e7b9cabb9aa160d36a 100644 (file)
@@ -233,6 +233,12 @@ $(obj)/%: $(src)/%_shipped
 quiet_cmd_ld = LD      $@
       cmd_ld = $(LD) $(ld_flags) $(real-prereqs) -o $@
 
+# Archive
+# ---------------------------------------------------------------------------
+
+quiet_cmd_ar = AR      $@
+      cmd_ar = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(real-prereqs)
+
 # Objcopy
 # ---------------------------------------------------------------------------