All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev][isar-cip-core][PATCH v2] swupdate: add cross and nocheck to build profile
@ 2021-11-08 13:45 Q. Gylstorff
  2021-11-08 13:59 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Q. Gylstorff @ 2021-11-08 13:45 UTC (permalink / raw)
  To: Jan.Kiszka, cip-dev

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

During cross compiling for arm the builds fails
with the following message:

```
strip -N main -o /home/builder/swupdate/git/core/built-in.o.tmp /home/builder/swupdate/git/core/built-in.o
strip: Unable to recognise the format of the input file `/home/builder/swupdate/git/core/built-in.o'
make[3]: *** [/home/builder/swupdate/git/test/Makefile:71: test/test_json.lnk] Error 1
m
```

Add cross and nocheck to SWUPDATE_BUILD_PROFILES to avoid
the build error.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---

Changes v2:
 - Fix commit message

recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb b/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
index e62230f..7a0fb9b 100644
--- a/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
+++ b/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
@@ -28,6 +28,8 @@ SRC_URI += "file://0001-debian-Add-option-to-build-with-efibootguard.patch \
 # deactivate signing and encryption for simple a/b rootfs update
 SWUPDATE_BUILD_PROFILES += "pkg.swupdate.nosigning pkg.swupdate.noencryption"
 
+# add cross build and deactivate testing for arm based builds
+SWUPDATE_BUILD_PROFILES += "cross nocheck"
 # If the luahandler shall be embedded into the swupdate binary
 # include the following lines.
 # DEPENDS += "swupdate-handlers"
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH v2] swupdate: add cross and nocheck to build profile
  2021-11-08 13:45 [cip-dev][isar-cip-core][PATCH v2] swupdate: add cross and nocheck to build profile Q. Gylstorff
@ 2021-11-08 13:59 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2021-11-08 13:59 UTC (permalink / raw)
  To: Q. Gylstorff, cip-dev

On 08.11.21 14:45, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> During cross compiling for arm the builds fails
> with the following message:
> 
> ```
> strip -N main -o /home/builder/swupdate/git/core/built-in.o.tmp /home/builder/swupdate/git/core/built-in.o
> strip: Unable to recognise the format of the input file `/home/builder/swupdate/git/core/built-in.o'
> make[3]: *** [/home/builder/swupdate/git/test/Makefile:71: test/test_json.lnk] Error 1
> m
> ```
> 
> Add cross and nocheck to SWUPDATE_BUILD_PROFILES to avoid
> the build error.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
> 
> Changes v2:
>  - Fix commit message
> 
> recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb b/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
> index e62230f..7a0fb9b 100644
> --- a/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
> +++ b/recipes-core/swupdate/swupdate_2021.04-1+debian-gbp.bb
> @@ -28,6 +28,8 @@ SRC_URI += "file://0001-debian-Add-option-to-build-with-efibootguard.patch \
>  # deactivate signing and encryption for simple a/b rootfs update
>  SWUPDATE_BUILD_PROFILES += "pkg.swupdate.nosigning pkg.swupdate.noencryption"
>  
> +# add cross build and deactivate testing for arm based builds
> +SWUPDATE_BUILD_PROFILES += "cross nocheck"
>  # If the luahandler shall be embedded into the swupdate binary
>  # include the following lines.
>  # DEPENDS += "swupdate-handlers"
> 

Thanks, applied.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 13:45 [cip-dev][isar-cip-core][PATCH v2] swupdate: add cross and nocheck to build profile Q. Gylstorff
2021-11-08 13:59 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.