[klibc] [PATCH klibc 1/4] Makefile: Add dependencies on $(KLIBCKERNELSRC)
Ben Hutchings
ben at decadent.org.uk
Sun Jan 6 20:24:28 PST 2019
The error message for a missing $(KLIBCKERNELSRC) won't appear
unless it's specified as a target or something depends on it.
Make the klcc and klibc targets depend on it.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index cd15149c73ec..43861355b964 100644
--- a/Makefile
+++ b/Makefile
@@ -112,10 +112,10 @@ klibc.spec: klibc.spec.in $(KLIBCSRC)/version
sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@
# Build klcc - it is the first target
-klcc: $(objtree)/.config
+klcc: $(objtree)/.config $(KLIBCKERNELSRC)
$(Q)$(MAKE) $(klibc)=klcc
-klibc: $(objtree)/.config
+klibc: $(objtree)/.config $(KLIBCKERNELSRC)
$(Q)$(MAKE) $(klibc)=.
test: klibc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/klibc/attachments/20190107/e5f56a24/attachment.sig>
More information about the klibc
mailing list