diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-15 17:28:08 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-15 17:43:32 -0700 |
commit | 2efc81182abf4448bf28b27c493e5f3ab5b75eef (patch) | |
tree | 5996e993a16bcaa193a834ed412eac36895b0f35 /meta-oe/recipes-support/libiio/libiio_git.bb | |
parent | f55fecc25b6baf671bad3cbde2a7f808e2c8faea (diff) | |
download | meta-openembedded-2efc81182abf4448bf28b27c493e5f3ab5b75eef.tar.gz |
libiio: Do not generate lineinfo in lex/yacc generated files
This avoid buildpaths being in target packages. These are emitted into
generated lexer.c and parser.c, therefore ensure that lex and yacc are
directled to not include lines in their output.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libiio/libiio_git.bb')
-rw-r--r-- | meta-oe/recipes-support/libiio/libiio_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb index bb253f421..c8ff0d34b 100644 --- a/meta-oe/recipes-support/libiio/libiio_git.bb +++ b/meta-oe/recipes-support/libiio/libiio_git.bb | |||
@@ -24,6 +24,8 @@ inherit cmake python3native systemd setuptools3 | |||
24 | 24 | ||
25 | EXTRA_OECMAKE = " \ | 25 | EXTRA_OECMAKE = " \ |
26 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | 26 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
27 | -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ | ||
28 | -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ | ||
27 | -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ | 29 | -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ |
29 | " | 31 | " |