summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-14 09:10:50 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-14 09:10:50 +0000
commitad3d96f8b792149d4a623584f8b403d40bd60331 (patch)
treea642f520af5de3923c499f886e068e0b9bbdcef3 /Makefile
parent50b14f6bf77048f65377f26fe8737b9bfb8512a1 (diff)
Patch from Brian Stafford <brian@stafford.uklinux.net> to fixup
support for Unix98 PTYs, and optionally exclude the older junk.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e58334aac..1490f0cc8 100644
--- a/Makefile
+++ b/Makefile
@@ -161,6 +161,16 @@ uClibc_config.h: Makefile Config
else \
echo "#undef __UCLIBC_HAVE_LFS__" >> uClibc_config.h ; \
fi
+ @if [ "$(UNIX98PTY_ONLY)" = "true" ] ; then \
+ echo "#define UNIX98PTY_ONLY 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef UNIX98PTY_ONLY" >> uClibc_config.h ; \
+ fi
+ @if [ "$(ASSUME_DEVPTS)" = "true" ] ; then \
+ echo "#define ASSUME_DEVPTS 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef ASSUME_DEVPTS" >> uClibc_config.h ; \
+ fi
subdirs: $(patsubst %, _dir_%, $(DIRS))