Message ID | 20211108134534.1866031-1-Quirin.Gylstorff@siemens.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [isar-cip-core,v2] swupdate: add cross and nocheck to build profile | expand |
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
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"