From b21c477819a49603164030560b45d368b6d60f81 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 27 Aug 2025 13:57:44 -0400 Subject: [PATCH] plugins: plugin_bss_start[] and plugin_end_addr[] are only for NATIVE builds Change-Id: I5a856cd89126c3aa8f718536a8ddadfae80bb15a --- apps/plugins/plugin_crt0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/plugins/plugin_crt0.c b/apps/plugins/plugin_crt0.c index 5564c5575f..ee996aab5e 100644 --- a/apps/plugins/plugin_crt0.c +++ b/apps/plugins/plugin_crt0.c @@ -32,8 +32,10 @@ PLUGIN_HEADER #define EXIT_MAGIC 0x0CDEBABE extern enum plugin_status plugin_start(const void*); +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) extern unsigned char plugin_bss_start[]; extern unsigned char plugin_end_addr[]; +#endif static jmp_buf __exit_env; /* only 1 atexit handler for now, chain in the exit handler if you need more */