build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols
[openwrt/staging/pepe2k.git] / Config.in
index 546e8249ccb41a654f0093a83bf39bfc1ae3112f..65b6dd86aac2360a9c39ddbb65747e75185fa45f 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -13,6 +13,14 @@ config HAVE_DOT_CONFIG
        bool
        default y
 
+HOST_OS := $(shell, uname)
+
+config HOST_OS_LINUX
+       def_bool $(shell, ./config/check-uname.sh Linux)
+
+config HOST_OS_MACOS
+       def_bool $(shell, ./config/check-uname.sh Darwin)
+
 source "target/Config.in"
 
 source "config/Config-images.in"