[kernel] use $^ and specify config-{no,}debug in the dependencies

Kyle McMartin kyle at fedoraproject.org
Tue Jan 21 22:16:10 UTC 2014


commit 63afba24144493f58a6848b516ffac27ffc4e89f
Author: Kyle McMartin <kyle at fedoraproject.org>
Date:   Tue Jan 21 17:16:04 2014 -0500

    use $^ and specify config-{no,}debug in the dependencies
    
    no functional change

 Makefile.config |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.config b/Makefile.config
index 31f82a4..806c567 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -26,11 +26,11 @@ configs: $(CONFIGFILES)
 clean ::
 	@rm -fv $(CONFIGFILES) $(TEMPFILES) temp-generic kernel-$(VERSION)*config
 
-temp-generic: config-generic
-	cat config-generic config-nodebug > temp-generic
+temp-generic: config-generic config-nodebug
+	cat $^ > temp-generic
 
-temp-debug-generic: config-generic
-	cat config-generic config-debug > temp-debug-generic
+temp-debug-generic: config-generic config-debug
+	cat $^ > temp-debug-generic
 
 temp-no-extra-generic: config-no-extra temp-generic
 	perl merge.pl $^ > $@


More information about the scm-commits mailing list