aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a60161ccca5b48..0df463a5e0c985 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ $(objtree)/.config: $(srctree)/defconfig
@echo "defconfig has changed, please remove or edit .config"
@false
-$(KLIBCKERNELSRC):
+$(KLIBCKERNELSRC)/include:
@echo "Cannot find kernel UAPI headers."
@echo "Either make a 'linux' symlink point to the usr subdirectory "
@echo "of a kernel tree with headers installed for the $(KLIBCARCH) "
@@ -111,10 +111,10 @@ klibc.spec: klibc.spec.in $(KLIBCSRC)/version
sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@
# Build klcc - it is the first target
-klcc: $(objtree)/.config $(KLIBCKERNELSRC)
+klcc: $(objtree)/.config $(KLIBCKERNELSRC)/include
$(Q)$(MAKE) $(klibc)=klcc
-klibc: $(objtree)/.config $(KLIBCKERNELSRC)
+klibc: $(objtree)/.config $(KLIBCKERNELSRC)/include
$(Q)$(MAKE) $(klibc)=.
test: klibc