summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-09 16:40:35 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-09 16:40:35 +0000
commite6f7f47c0bb4c3e4752288c4eeb6d492e7412009 (patch)
tree50458b5fb7bfd654917feb142cfd36920d1464b5 /Makefile
parent64cdebe1deb9abffdab61db3b829bcd1201d11df (diff)
By default, leave out the RPC junk (it adds over 30k). Add in a compile
time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e768d1389..5ccc78a42 100644
--- a/Makefile
+++ b/Makefile
@@ -206,6 +206,11 @@ uClibc_config.h: Config
else \
echo "#undef NO_UNDERSCORES" >> uClibc_config.h ; \
fi
+ @if [ "$(INCLUDE_RPC)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAS_RPC__ 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef __UCLIBC_HAS_RPC__" >> uClibc_config.h ; \
+ fi
.PHONY: dummy subdirs