]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
If not Linux then assume BSD.
authorRoy Marples <roy@marples.name>
Thu, 27 Mar 2008 20:10:31 +0000 (20:10 +0000)
committerRoy Marples <roy@marples.name>
Thu, 27 Mar 2008 20:10:31 +0000 (20:10 +0000)
README
mk/os.mk

diff --git a/README b/README
index 9089ec69c49be5915749e8d7b8abaac3b4ee3c82..f70fd5631db7cde5320f597f007ab6585ec1f2ab 100644 (file)
--- a/README
+++ b/README
@@ -16,8 +16,10 @@ man dhcpcd for command line options
 
 Notes
 -----
-If you're cross compiling you may need to send HAVE_FORK=yes or HAVE_FORK=no
-to the make command to avoid to automatic test.
+If you're cross compiling you may need to set the below knobs to avoid
+automatic tests.
+HAVE_FORK=yes | no
+OS=BSD | Linux
 
 We try and detect how to restart ntp and ypbind, you can override this with
 HAVE_INIT=no or force one of these values
index a093f0720b7296ab19433290b823d8b1e5113b5b..f2a83f4017ce8de2542baf0a8ce41cd19f867c45 100644 (file)
--- a/mk/os.mk
+++ b/mk/os.mk
@@ -1,7 +1,7 @@
 # Setup OS specific variables
 # Copyright 2008 Roy Marples <roy@marples.name>
 
-_UNAME_S_SH=   case `uname -s` in *BSD|DragonFly) echo "BSD";; *) uname -s;; esac
-_UNAME_S!=     ${_UNAME_S_SH}
-UNAME_S=       ${_UNAME_S}$(shell ${_UNAME_S_SH})
-include ${MK}/os-${UNAME_S}.mk
+_OS_SH=        case `uname -s` in Linux) echo "Linux";; *) echo "BSD";; esac
+_OS!=          ${_OS_SH}
+OS=            ${_OS}$(shell ${_OS_SH})
+include ${MK}/os-${OS}.mk