Displaying 1 result from an estimated 1 matches for "f2ef939".
2006 Jul 09
0
[PATCH] klibc/kbuild: fix warning: target '' given more than once
Building static and shared binary which uses subdirs caused a warning
due to duplicated targets.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
---
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 1741fa8..f2ef939 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -312,7 +312,7 @@ # Descending
# ---------------------------------------------------------------------------
.PHONY: $(subdir-y) $(klibc-dirs)
-$(subdir-y) $(klibc-dirs):
+$(sort $(subdir-y) $(klibc-dirs)):
$(Q)$(MAKE) $(klibc)=$@...