klibc-bot for Ben Hutchings
2019-Jan-18 16:42 UTC
[klibc] [klibc:master] Makefile: Add dependencies on $(KLIBCKERNELSRC)
Commit-ID: c76d1e32379835dcc0e66c8874b0a384bf1ac5cf Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c76d1e32379835dcc0e66c8874b0a384bf1ac5cf Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sun, 6 Jan 2019 21:11:05 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] Makefile: Add dependencies on $(KLIBCKERNELSRC) 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. Link: https://www.zytor.com/pipermail/klibc/2019-January/004030.html 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 cd15149..4386135 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
Possibly Parallel Threads
- [klibc:master] Makefile: Check for $(KLIBCKERNELSRC)/include directory
- [klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
- [klibc:master] Makefile: Update help text for KLIBCKERNELSRC
- [rfc patch] Makefile add help target
- [PATCH klibc 0/4] Fix the KLIBCKERNEL{SRC,OBJ} mess