Re: [meta-oe][PATCH] luajit: Fix override syntax


Martin Jansa
 

LGTM, thanks!


On Tue, Aug 3, 2021 at 9:33 PM Khem Raj <raj.khem@...> wrote:
Do not convert the variable name resembling override setups passed to makefile
Fix some of missed overrides

Signed-off-by: Khem Raj <raj.khem@...>
Cc: Martin Jansa <Martin.Jansa@...>
---
 meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb
index 645680cd9f..d4ff06b677 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_git.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb
@@ -30,8 +30,8 @@ BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}"
 # Values: Windows, Linux, Darwin, iOS, SunOS, PS3, GNU/kFreeBSD
 LUA_TARGET_OS = "Unknown"
 LUA_TARGET_OS:darwin = "Darwin"
-LUA_TARGET_OS_linux = "Linux"
-LUA_TARGET_OS_linux-gnueabi = "Linux"
+LUA_TARGET_OS:linux = "Linux"
+LUA_TARGET_OS:linux-gnueabi = "Linux"
 LUA_TARGET_OS:mingw32 = "Windows"

 # We don't want the lua buildsystem's compiler optimizations, or its
@@ -40,7 +40,7 @@ LUA_TARGET_OS:mingw32 = "Windows"
 EXTRA_OEMAKE = "\
     Q= E='@:' \
     \
-    CCOPT= CCOPT:x86= CFLAGS= LDFLAGS= TARGET_STRIP='@:' \
+    CCOPT= CCOPT_x86= CFLAGS= LDFLAGS= TARGET_STRIP='@:' \
     \
     'TARGET_SYS=${LUA_TARGET_OS}' \
     \
--
2.32.0

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.