mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 13:56:21 +00:00
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
74 lines
2.3 KiB
Diff
74 lines
2.3 KiB
Diff
From 3b7091243ec03054ca8800b51b85a1c09e7e3075 Mon Sep 17 00:00:00 2001
|
|
From: Sui Chen <suichen6@gmail.com>
|
|
Date: Mon, 13 Jun 2022 17:46:49 +0000
|
|
Subject: [PATCH] Remove "check_build_deps" build steps
|
|
|
|
When building with Bitbake, we want Bitbake to manage our dependencies,
|
|
so we remove the "check_build_deps" steps from Perfetto.
|
|
|
|
Also setting "is_cross_compiling" to true, so that the host-side tools
|
|
(such as protoc) will always be generated using the native toolchain,
|
|
rather than the Bitbake-generated one.
|
|
|
|
Signed-off-by: Sui Chen <suichen6@gmail.com>
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
gn/BUILD.gn | 1 -
|
|
gn/standalone/BUILD.gn | 12 ++++++------
|
|
gn/standalone/BUILDCONFIG.gn | 5 +++--
|
|
3 files changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
|
|
index 8a7ca72a8..e4a2d39f0 100644
|
|
--- a/gn/BUILD.gn
|
|
+++ b/gn/BUILD.gn
|
|
@@ -111,7 +111,6 @@ group("default_deps") {
|
|
deps = [ ":gen_buildflags" ]
|
|
if (perfetto_build_standalone) {
|
|
public_deps = [
|
|
- "//gn/standalone:check_build_deps",
|
|
"//gn/standalone/libc++:deps",
|
|
"//gn/standalone/sanitizers:deps",
|
|
]
|
|
diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
|
|
index 582e9b867..9c77ac64c 100644
|
|
--- a/gn/standalone/BUILD.gn
|
|
+++ b/gn/standalone/BUILD.gn
|
|
@@ -441,10 +441,10 @@ config("android_liblog") {
|
|
}
|
|
|
|
# Checks that tools/install-build-deps has been run since it last changed.
|
|
-perfetto_check_build_deps("check_build_deps") {
|
|
- args = []
|
|
-}
|
|
+#perfetto_check_build_deps("check_build_deps") {
|
|
+# args = []
|
|
+#}
|
|
|
|
-perfetto_check_build_deps("check_build_deps_android") {
|
|
- args = [ "--android" ]
|
|
-}
|
|
+#perfetto_check_build_deps("check_build_deps_android") {
|
|
+# args = [ "--android" ]
|
|
+#}
|
|
diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn
|
|
index 6f32686c1..c041989b0 100644
|
|
--- a/gn/standalone/BUILDCONFIG.gn
|
|
+++ b/gn/standalone/BUILDCONFIG.gn
|
|
@@ -59,8 +59,9 @@ declare_args() {
|
|
# the ossfuzz sanitizer overrides this to true. In that config the
|
|
# host/target cpu and arch are identical, but we want to build only the
|
|
# targets with the sanitizer/fuzzer flags
|
|
- is_cross_compiling =
|
|
- target_cpu != host_cpu || target_os != host_os || target_triplet != ""
|
|
+
|
|
+ # for Bitbake build
|
|
+ is_cross_compiling = true
|
|
}
|
|
default_configs = [
|
|
"//gn/standalone:debug_symbols",
|
|
--
|
|
2.37.1
|
|
|