mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02: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>
32 lines
1007 B
Diff
32 lines
1007 B
Diff
From eb14aa66dc0384071af401cced8c02993b55502e Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Richardson <jonathan.richardson@broadcom.com>
|
|
Date: Wed, 26 Feb 2020 15:54:51 -0800
|
|
Subject: [PATCH] autotools: Add include path to generated version.h
|
|
|
|
When the build dir isn't the same as source dir it fails to compile
|
|
because the generated version.h from AC_CONFIG_FILES is always in build
|
|
dir. Include the path to it in AM_CPPFLAGS.
|
|
|
|
Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
|
|
|
|
---
|
|
Upstream-Status: Pending
|
|
|
|
Makefile.am | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 0fb9bb0..2952019 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -14,6 +14,9 @@ endif
|
|
AM_CPPFLAGS = -I${srcdir}/include -DSYSCONFDIR="\"${sysconfdir}\"" \
|
|
-D_FORTIFY_SOURCE=2
|
|
|
|
+# Required for the generated version.h when build dir is not the same as srcdir.
|
|
+AM_CPPFLAGS += -I${top_builddir}/include
|
|
+
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error
|