X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=Config.in;h=6d71d4c6e6f291c1839bc96abd4536770c40d3bb;hb=703a1cafe0d0bc1bb8e7beb3267dff44235d9a68;hp=d30c04839e949ca06942e8a41912fb19a2657305;hpb=34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6;p=openwrt%2Fopenwrt.git diff --git a/Config.in b/Config.in index d30c04839e..6d71d4c6e6 100644 --- a/Config.in +++ b/Config.in @@ -1,13 +1,11 @@ -# Copyright (C) 2006-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. +# SPDX-License-Identifier: GPL-2.0-only # +# Copyright (C) 2006-2013 OpenWrt.org mainmenu "OpenWrt Configuration" config MODULES - option modules + modules bool default y @@ -15,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"