summaryrefslogtreecommitdiff
path: root/klibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/Makefile')
-rw-r--r--klibc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/klibc/Makefile b/klibc/Makefile
index a512aa308a..7a9b92e8d6 100644
--- a/klibc/Makefile
+++ b/klibc/Makefile
@@ -27,7 +27,10 @@ $(CROSS)klibc.config: Makefile
echo 'STRIPFLAGS=$(STRIPFLAGS)' >> $@
echo 'EMAIN=$(EMAIN)' >> $@
echo 'BITSIZE=$(BITSIZE)' >> $@
- echo 'INSTALLDIR=$(INSTALLDIR)' >> $@
+ echo 'prefix=$(INSTALLDIR)' >> $@
+ echo 'bindir=$(INSTALLDIR)/$(KCROSS)bin' >> $@
+ echo 'libdir=$(INSTALLDIR)/$(KCROSS)lib' >> $@
+ echo 'includedir=$(INSTALLDIR)/$(KCROSS)include' >> $@
$(CROSS)klcc: klcc.in $(CROSS)klibc.config makeklcc.pl
$(PERL) makeklcc.pl klcc.in $(CROSS)klibc.config \