nativesdk: Re-define MACHINE = SDKMACHINE

Submitted by Khem Raj on Sept. 15, 2020, 1:12 a.m. | Patch ID: 176517

Details

Message ID 20200915011258.2081141-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Sept. 15, 2020, 1:12 a.m.
Ensures, that change in MACHINE variable does not trigger rebuilds
of nativesdk packages, target machine should not matter for nativesk
packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/nativesdk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 7f2692c51a..bb1dfd84c0 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -10,7 +10,7 @@  LIBCOVERRIDE = ":${NATIVESDKLIBC}"
 CLASSOVERRIDE = "class-nativesdk"
 MACHINEOVERRIDES = ""
 MACHINE_FEATURES = ""
-
+MACHINE = "${SDKMACHINE}"
 MULTILIBS = ""
 
 # we need consistent staging dir whether or not multilib is enabled