Commit 436643af30ba6a867fa537c819c68191bc192498
Commits[COMMIT BEGIN]commit 436643af30ba6a867fa537c819c68191bc192498 Author: 0x4248 <[email protected]> Date: Wed Dec 10 13:25:14 2025 +0000 Make: add MacOS warning Added a MacOS warning to let MacOS users know that nexus isnt supported as well on MacOS Why? Well I test almost all of my code on Linux (Arch). But you might ask, "You have a Mac?". Well, I SSH into a intranet server to do all my development on. Warnings added: WARNING: You are using Darwin (MacOS) which is not usually supported by Nexus Set CONFIG_MAKE_IGNORE_WARNING_DARWIN=y to suppress this warning You can turn this of on make menuconfig (Top) -> Makefile options/Ignore MacOS warning Signed-off-by: 0x4248 <[email protected]> diff --git a/Kconfig b/Kconfig index a4fee71..c3edb7f 100644 --- a/Kconfig +++ b/Kconfig @@ -12,6 +12,11 @@ config MAKEFILE_LOGS help Prints a log message to explain what it is doing +config CONFIG_MAKE_IGNORE_WARNING_DARWIN + bool "Ignore MacOS warning" + default n + help + Hides the MacOS warning endmenu menu "Documentation" diff --git a/Makefile b/Makefile index 789db64..81b248c 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,20 @@ # This software is free and open source. Licensed under the GNU general # public license version 3.0 as published by the Free Software Foundation. + + all: precheck help NOCONFIG_TARGETS := menuconfig defconfig precheck: + @if [ "$$(uname -s)" = "Darwin" ]; then \ + if [ "$(CONFIG_MAKE_IGNORE_WARNING_DARWIN)" != "y" ]; then \ + echo "WARNING: You are using Darwin (MacOS) which is not usually supported by Nexus"; \ + echo "Set CONFIG_MAKE_IGNORE_WARNING_DARWIN=y to suppress this warning"; \ + fi; \ + fi + $(T)$(LOG) -e "PRECHECK\tGLOBPATH" $(T)pwd > .nexopath $(T)$(LOG) -e "PRECHECK\tCONFIG" @@ -29,6 +38,11 @@ precheck: fi + + +quickstart: + + -include tools/build/make/includes.mk .PHONY: precheck $(TARGETS)[COMMIT END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.