All of lore.kernel.org
 help / color / mirror / Atom feed
* optee failing to build on head of dunfell branch for j7-evm
@ 2024-01-19 18:01 mlynch
  2024-01-22 11:25 ` [meta-arm] " Ross Burton
  0 siblings, 1 reply; 6+ messages in thread
From: mlynch @ 2024-01-19 18:01 UTC (permalink / raw)
  To: meta-arm

[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]

While trying to build core-image-minimal for j7-evm using the head of the"dunfell" branch of meta-arm, the build fails during compile of optee.  The optee recipe contains a patch that is supposed to patch "mk/gcc.mk" but I found that, for whatever reason, the patch is NOT getting applied before "make" gets run.  I worked around the issue by creating a bbappend for optee-os_git that fixes up the "mk/gcc.mk" file.  My bbappend simply "prepends" do_compile such that what the patch file does is done to the "mk/gcc.mk" file.  What I can't figure out is why the patch from the layer isn't getting applied in the first place but I do have a theory I was hoping someone could verify/validate.  What I noticed is the SRCREV (023e33656e2c9557ce50ad63a98b2e2c9b51c118) in optee-os.bb does not match to any commit reference in the remote git repo for optee_os and the version that ends being retrieved is the head of the "master" branch of optee_os.  I believe the mk/gcc.mk file that comes in with that version (master) of optee_os does not match what the patch file is expecting and thus the patch from the dunfell branch fails to apply?  One question I have is why bitbake doesn't show a patch application failure but only shows a failure later when the build fails?  Does any of this sound plausible to anyone or am I way off base with this?  Are these questions maybe more appropriately directed toward bitbake maybe?  Anyway, just looking for thoughts/opinions since I have a work-around that appears to do what is needed.

Mike

[-- Attachment #2: Type: text/html, Size: 1590 bytes --]

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

end of thread, other threads:[~2024-01-22 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-19 18:01 optee failing to build on head of dunfell branch for j7-evm mlynch
2024-01-22 11:25 ` [meta-arm] " Ross Burton
     [not found]   ` <CADSA=uHnkpYGXfiK-u5NkHgqLutFh=Fy75Uurv4Zw7HcAMqCcg@mail.gmail.com>
2024-01-22 14:07     ` Ross Burton
     [not found]       ` <CADSA=uFgpA6E=m2XvGuu-oSG+_BcXbGz04=Hf2bpN0vVN4=SgQ@mail.gmail.com>
2024-01-22 14:25         ` Ross Burton
2024-01-22 18:33           ` Denys Dmytriyenko
     [not found]           ` <17ACBF07F3A964F3.17265@lists.yoctoproject.org>
2024-01-22 20:04             ` [meta-ti] " Denys Dmytriyenko

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.