Skip to content

Commit

Permalink
Merge pull request #2041 from andy9a9/feat/regex
Browse files Browse the repository at this point in the history
feat(regex):  use explicitly regex mark for regexs
  • Loading branch information
otavio authored Dec 3, 2024
2 parents 9e33c7e + ccf9a1b commit 7f04577
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions recipes-bsp/firmware-imx/firmware-imx_8.26.bb
Original file line number Diff line number Diff line change
Expand Up @@ -102,36 +102,36 @@ python populate_packages:prepend() {


easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d)
do_split_packages(d, easrcdir, '^easrc-([^_]*).*\.bin',
do_split_packages(d, easrcdir, r'^easrc-([^_]*).*\.bin',
output_pattern='firmware-imx-easrc-%s',
description='Freescale IMX EASRC Firmware [%s]',
extra_depends='',
prepend=True)

vpudir = bb.data.expand('${nonarch_base_libdir}/firmware/vpu', d)
do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin',
do_split_packages(d, vpudir, r'^vpu_fw_([^_]*).*\.bin',
output_pattern='firmware-imx-vpu-%s',
description='Freescale IMX VPU Firmware [%s]',
hook=coda_vpu_links,
extra_depends='',
prepend=True)

sdmadir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/sdma', d)
do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin',
do_split_packages(d, sdmadir, r'^sdma-([^-]*).*\.bin',
output_pattern='firmware-imx-sdma-%s',
description='Freescale IMX SDMA Firmware [%s]',
extra_depends='',
prepend=True)

xcvrdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xcvr', d)
do_split_packages(d, xcvrdir, '^xcvr-([^_]*).*\.bin',
do_split_packages(d, xcvrdir, r'^xcvr-([^_]*).*\.bin',
output_pattern='firmware-imx-xcvr-%s',
description='Freescale IMX XCVR Firmware [%s]',
extra_depends='',
prepend=True)

xuvidir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xuvi', d)
do_split_packages(d, xuvidir, '^vpu_fw_([^_]*).*\.bin',
do_split_packages(d, xuvidir, r'^vpu_fw_([^_]*).*\.bin',
output_pattern='firmware-imx-xuvi-%s',
description='Freescale IMX XUVI Firmware [%s]',
extra_depends='',
Expand Down
2 changes: 1 addition & 1 deletion recipes-multimedia/imx-codec/imx-codec_4.9.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ do_package_qa[prefuncs] += "__set_insane_skip"

python __split_libfslcodec_plugins() {
codecdir = bb.data.expand('${libdir}', d)
do_split_packages(d, codecdir, '^lib_([^_]*).*_arm.*_elinux\.so\..*',
do_split_packages(d, codecdir, r'^lib_([^_]*).*_arm.*_elinux\.so\..*',
aux_files_pattern='${libdir}/imx-mm/audio-codec/wrap/lib_%sd_wrap_arm*_elinux.so.*',
output_pattern='imx-codec-%s',
description='Freescale i.MX Codec (%s)',
Expand Down

0 comments on commit 7f04577

Please sign in to comment.