From d6b0badc058010c368aae55570c7d8ad8c925d4a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 18 Apr 2024 16:06:21 +0200 Subject: [PATCH] Fix declarations for EMBEDDED --- Makefile.system | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.system b/Makefile.system index a4f41236b..70a7436e9 100644 --- a/Makefile.system +++ b/Makefile.system @@ -811,9 +811,11 @@ ifeq ($(ARCH), arm) NO_BINARY_MODE = 1 BINARY_DEFINED = 1 -ifneq ($(OS_EMBEDDED), 1) +ifneq ($(EMBEDDED), 1) CCOMMON_OPT += -marm FCOMMON_OPT += -marm +else +CCOMMON_OPT += -DOS_EMBEDDED endif # If softfp abi is mentioned on the command line, force it.