diff options
author | Mark Jonas <toertel@gmail.com> | 2020-11-13 19:40:45 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-11-13 17:26:09 -0800 |
commit | 291e48127e36170df7cec36633d3d0d6547c13e1 (patch) | |
tree | 1e1d223589a26c58cef28c45380bd81b1937eb46 /meta-oe/recipes-extended/socketcan | |
parent | 19ff9afd650acaa7e96286fc88330ab2eb1af970 (diff) | |
download | meta-openembedded-291e48127e36170df7cec36633d3d0d6547c13e1.tar.gz |
libsocketcan: Add PACKAGECONFIG options
libsocketcan offers two configuration options.
debug: Compile for debugging. Off by default.
error-log: Logging of error events to stderr. On by default.
Because error-log is on by default the package config option is
no-error-log to retain existing recipe behavior.
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/socketcan')
-rw-r--r-- | meta-oe/recipes-extended/socketcan/libsocketcan_0.0.11.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.11.bb b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.11.bb index 0debe47e0..917f5e684 100644 --- a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.11.bb +++ b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.11.bb | |||
@@ -12,3 +12,7 @@ SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=git" | |||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | |||
16 | PACKAGECONFIG ?= "" | ||
17 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | ||
18 | PACKAGECONFIG[no-error-log] = "--disable-error-log,--enable-error-log" | ||