OSDN Git Service

Sigh. OpenBSD used /usr/bin/{true|false}
authorEric Andersen <andersen@codepoet.org>
Tue, 1 Oct 2002 04:01:04 +0000 (04:01 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 1 Oct 2002 04:01:04 +0000 (04:01 -0000)
Makefile
Rules.mak
extra/locale/Makefile
test/Rules.mak

index bc3f74a..ed4bd3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ headers: dummy
            echo "I bet you didn't set KERNEL_SOURCE, TARGET_ARCH or HAS_MMU in \`Config'"; \
            echo "correctly.  Please edit \`Config' and fix these settings."; \
            echo " "; \
-           /bin/false; \
+           false; \
        fi;
        rm -f include/linux include/scsi
        ln -fs $(KERNEL_SOURCE)/include/linux include/linux
index e4baa5e..41d41c9 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -99,7 +99,7 @@ NATIVE_CFLAGS:=-O2 -Wall
 ifeq ($(strip $(DODEBUG)),true)
     CFLAGS += -g
     LDFLAGS:= -shared --warn-common --warn-once -z combreloc
-    STRIPTOOL:= /bin/true -Since_we_are_debugging
+    STRIPTOOL:= true -Since_we_are_debugging
 else
     CFLAGS  += -DNDEBUG #-fomit-frame-pointer
     LDFLAGS := -s -shared --warn-common --warn-once -z combreloc
index 1743298..d97dba2 100644 (file)
@@ -22,7 +22,7 @@ codesets.txt:
            echo -e "        $(EXTRA_LOCALE_DIR)/codesets.txt"; \
            echo "and then edit that file to disable/enable the codesets you wish to support. "; \
            echo " "; \
-           /bin/false; \
+           false; \
        fi;
 
 gen_wc8bit: gen_wc8bit.c
@@ -61,7 +61,7 @@ locales.txt:
            echo "then edit locales.txt to disable/enable the locales you wish "; \
            echo "to support. "; \
            echo " "; \
-           /bin/false; \
+           false; \
        fi;
 
 ifneq ($(TARGET_ARCH),$(NATIVE_ARCH))
index 25398a1..46e82f3 100644 (file)
@@ -59,7 +59,7 @@ ifeq ($(DODEBUG),true)
     GLIBC_CFLAGS +=$(WARNINGS) $(OPTIMIZATION) -g
     LDFLAGS =-Wl,-warn-common
     GLIBC_LDFLAGS =-Wl,-warn-common 
-    STRIPTOOL =/bin/true -Since_we_are_debugging
+    STRIPTOOL =true -Since_we_are_debugging
 else
     CFLAGS  +=$(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer
     GLIBC_CFLAGS  +=$(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer