From 2d5b83197a2035b95efdd954f086f099b67ae139 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 27 Oct 2021 11:47:52 +0200 Subject: build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols This can be used to simplify host os tests in various places Signed-off-by: Felix Fietkau --- config/check-uname.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 config/check-uname.sh (limited to 'config') diff --git a/config/check-uname.sh b/config/check-uname.sh new file mode 100755 index 0000000000..1f1bf9ee07 --- /dev/null +++ b/config/check-uname.sh @@ -0,0 +1 @@ +[ "$(uname)" = "$1" ] && echo y || echo n -- cgit v1.2.3