OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc76cc
)
forkpty.c uses fork(), and so must be disabled when HAS_MMU=false
author
Eric Andersen
<andersen@codepoet.org>
Thu, 5 Jul 2001 19:26:45 +0000
(19:26 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 5 Jul 2001 19:26:45 +0000
(19:26 -0000)
-Erik
libutil/Makefile
patch
|
blob
|
history
diff --git
a/libutil/Makefile
b/libutil/Makefile
index
7210aaa
..
399d52b
100644
(file)
--- a/
libutil/Makefile
+++ b/
libutil/Makefile
@@
-28,7
+28,10
@@
LIBUTIL=libutil.a
LIBUTIL_SHARED=libutil.so
LIBUTIL_SHARED_FULLNAME=libutil-$(MAJOR_VERSION).$(MINOR_VERSION).so
-CSRC=forkpty.c login.c login_tty.c logout.c logwtmp.c openpty.c
+CSRC=login.c login_tty.c logout.c logwtmp.c openpty.c
+ifeq ($(strip $(HAS_MMU)),true)
+ CSRC+=forkpty.c
+endif
OBJS=$(patsubst %.c,%.o, $(CSRC))
all: $(OBJS) $(LIBC)