All of lore.kernel.org
 help / color / mirror / Atom feed
* patching files under  "dynamic-layers"
@ 2022-02-07 15:42 Monsees, Steven C (US)
  0 siblings, 0 replies; only message in thread
From: Monsees, Steven C (US) @ 2022-02-07 15:42 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org

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


I am building with zeus 3.0.4, Intel based...

I trying to learn how to introduce a patch to files brought in by packages under "dynamic -layers"... my bbappend appears not to be applying my test patch (even though no errors/warnings thrown)...

This is the package I am trying to manipulate:

/disk0/scratch/smonsees/yocto/workspace_3/meta-intel/dynamic-layers/clang-layer/recipes-opencl/igc
It contains:
files  intel-graphics-compiler_1.0.11.bb

This is my recipe to apply patch:

/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/dynamic-layers/clang-layer/recipes-opencl/igc
It contains:
files  intel-graphics-compiler_1.0.11.bbappend

files - contains the file I am attempting to patch (FILE_TO_PATCH.patch)
intel-graphics-compiler_1.0.11.bbappend is setup like so, where

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "\
    file://FILE_TO_PATCH.patch \
"

I attempted to male use of BBFILES_DYNAMIC but even though I get no error, patch is not applied.

conf/layer.conf:
BBFILES_DYNAMIC += " \
    clang-layer:$(LAYERDIR)/dynamic-layers/clang-layer/recipes-opencl/igc/*.bbappend \
"

Can you explain to me the proper way to patch files under these circumstances and where I went wrong ?

Thanks,
Steve


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-07 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-07 15:42 patching files under "dynamic-layers" Monsees, Steven C (US)

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.