summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/socketcan
diff options
context:
space:
mode:
authorMark Jonas <toertel@gmail.com>2020-11-13 19:40:45 +0100
committerKhem Raj <raj.khem@gmail.com>2020-11-13 17:26:09 -0800
commit291e48127e36170df7cec36633d3d0d6547c13e1 (patch)
tree1e1d223589a26c58cef28c45380bd81b1937eb46 /meta-oe/recipes-extended/socketcan
parent19ff9afd650acaa7e96286fc88330ab2eb1af970 (diff)
downloadmeta-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.bb4
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"
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14inherit autotools pkgconfig 14inherit autotools pkgconfig
15
16PACKAGECONFIG ?= ""
17PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
18PACKAGECONFIG[no-error-log] = "--disable-error-log,--enable-error-log"