diff options
Diffstat (limited to 'meta-app-framework/recipes-support')
4 files changed, 6 insertions, 4 deletions
diff --git a/meta-app-framework/recipes-support/libcap/libcap_%.bbappend b/meta-app-framework/recipes-support/libcap/libcap_%.bbappend index ac909a64c..6107ee7f6 100644 --- a/meta-app-framework/recipes-support/libcap/libcap_%.bbappend +++ b/meta-app-framework/recipes-support/libcap/libcap_%.bbappend @@ -1,3 +1 @@ -FILESEXTRAPATHS_append_class-native := ":${THISDIR}/${PN}" -# FIXME: It needs to be determined if this is still required -#SRC_URI_append_class-native = " file://removing-capability-enforcement.patch" +require ${@bb.utils.contains('APPFW_ENABLED', '1', 'libcap_appfw.inc', '', d)} diff --git a/meta-app-framework/recipes-support/libcap/libcap_appfw.inc b/meta-app-framework/recipes-support/libcap/libcap_appfw.inc new file mode 100644 index 000000000..9ece5ce27 --- /dev/null +++ b/meta-app-framework/recipes-support/libcap/libcap_appfw.inc @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_append_class-native := ":${THISDIR}/libcap" +# FIXME: It needs to be determined if this is still required +#SRC_URI_append_class-native = " file://removing-capability-enforcement.patch" diff --git a/meta-app-framework/recipes-support/libzip/libzip_%.bbappend b/meta-app-framework/recipes-support/libzip/libzip_%.bbappend index 5174650b1..d559c2fbe 100644 --- a/meta-app-framework/recipes-support/libzip/libzip_%.bbappend +++ b/meta-app-framework/recipes-support/libzip/libzip_%.bbappend @@ -1 +1 @@ -BBCLASSEXTEND += "native nativesdk" +require ${@bb.utils.contains('APPFW_ENABLED', '1', 'libzip_appfw.inc', '', d)} diff --git a/meta-app-framework/recipes-support/libzip/libzip_appfw.inc b/meta-app-framework/recipes-support/libzip/libzip_appfw.inc new file mode 100644 index 000000000..5174650b1 --- /dev/null +++ b/meta-app-framework/recipes-support/libzip/libzip_appfw.inc @@ -0,0 +1 @@ +BBCLASSEXTEND += "native nativesdk" |