From 93dea96ea0ea625e71a195bfaf1a9da548871d78 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Fri, 28 Apr 2017 10:01:27 +0300 Subject: [PATCH] extras: move Boost package config to configuration file. Do not have Boost PACKAGE_CONFIG variable set in a .bbappend file, because adding or removing layers should not affect the build result. Have the configuration setting instead in layer's distro config file. Signed-off-by: Ismo Puustinen --- meta-refkit-extra/conf/distro/include/refkit-extra.conf | 3 +++ meta-refkit-extra/recipes-convnet/boost/boost_%.bbappend | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 meta-refkit-extra/recipes-convnet/boost/boost_%.bbappend diff --git a/meta-refkit-extra/conf/distro/include/refkit-extra.conf b/meta-refkit-extra/conf/distro/include/refkit-extra.conf index 54fe5f72a5..81393c0f0b 100644 --- a/meta-refkit-extra/conf/distro/include/refkit-extra.conf +++ b/meta-refkit-extra/conf/distro/include/refkit-extra.conf @@ -4,3 +4,6 @@ SUPPORTED_RECIPES_append = " \ ${META_REFKIT_EXTRA_BASE}/conf/distro/include/refkit-extra-supported-recipes.txt \ " SUPPORTED_RECIPES[refkit-extra-supported-recipes.txt] = "extra" + +# Caffe needs Boost Python 3 bindings. Enable them in Boost. +PACKAGECONFIG_append_pn-boost = " python" diff --git a/meta-refkit-extra/recipes-convnet/boost/boost_%.bbappend b/meta-refkit-extra/recipes-convnet/boost/boost_%.bbappend deleted file mode 100644 index af6cc8b5eb..0000000000 --- a/meta-refkit-extra/recipes-convnet/boost/boost_%.bbappend +++ /dev/null @@ -1 +0,0 @@ -PACKAGECONFIG += "python"