added my Recipes
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
From 06be633b8f4e2241bd37d4faf62b49606ad778e7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 25 May 2023 19:01:36 -0700
|
||||
Subject: [PATCH] configure: Filter out buildpaths from CC
|
||||
|
||||
Upstream-Status: Inappropriate [Cross-compile specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 4 +++-
|
||||
libgphoto2_port/configure.ac | 6 ++++--
|
||||
2 files changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 17216b1..39c8cc4 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -261,7 +261,9 @@ GP_CONFIG_MSG([Compiler],[${CC}])
|
||||
GP_CONFIG_MSG([libltdl includes],[$LTDLINCL])
|
||||
GP_CONFIG_MSG([libltdl library],[$LIBLTDL])
|
||||
|
||||
-AC_DEFINE_UNQUOTED([HAVE_CC], ["$CC"],
|
||||
+CC_NO_SYSROOT=`echo $CC | sed -e \
|
||||
+ 's|--sysroot=.*\b||g'`
|
||||
+AC_DEFINE_UNQUOTED([HAVE_CC], ["$CC_NO_SYSROOT"],
|
||||
[The C compiler we are using])
|
||||
|
||||
|
||||
diff --git a/libgphoto2_port/configure.ac b/libgphoto2_port/configure.ac
|
||||
index 1086b8e..59f3c34 100644
|
||||
--- a/libgphoto2_port/configure.ac
|
||||
+++ b/libgphoto2_port/configure.ac
|
||||
@@ -103,8 +103,10 @@ GP_CONFIG_MSG([Compiler],[${CC}])
|
||||
GP_CONFIG_MSG([libltdl includes],[$LTDLINCL])
|
||||
GP_CONFIG_MSG([libltdl library],[$LIBLTDL])
|
||||
|
||||
-AC_DEFINE_UNQUOTED([HAVE_CC], ["$CC"],
|
||||
- [The C compiler we're using])
|
||||
+CC_NO_SYSROOT=`echo $CC | sed -e \
|
||||
+ 's|--sysroot=.*\b||g'`
|
||||
+AC_DEFINE_UNQUOTED([HAVE_CC], ["$CC_NO_SYSROOT"],
|
||||
+ [The C compiler we are using])
|
||||
|
||||
AM_CPPFLAGS=""
|
||||
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 31a5d2f7db18737aef08c34e8707b4f69f7e5156 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sun, 21 Oct 2012 17:59:20 +0200
|
||||
Subject: [PATCH] configure.ac: remove AM_PO_SUBDIRS
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
together with oe autotools.bbclass this is done twice and causes:
|
||||
|
||||
| autoreconf: running: aclocal --system-acdir=/home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/aclocal-copy/ --automake-acdir=/home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ --force -I auto-m4 -I m4m
|
||||
| configure.ac:230: error: `po-directories' is already registered with AC_CONFIG_COMMANDS.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
configure.ac | 1 -
|
||||
libgphoto2_port/configure.ac | 1 -
|
||||
2 files changed, 0 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -282,7 +282,6 @@ dnl ------------------------------------
|
||||
GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2],
|
||||
[${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}],
|
||||
[po])
|
||||
-AM_PO_SUBDIRS()
|
||||
AM_GNU_GETTEXT_VERSION([0.19.1])
|
||||
AM_GNU_GETTEXT([external])
|
||||
AM_ICONV()
|
||||
--- a/libgphoto2_port/configure.ac
|
||||
+++ b/libgphoto2_port/configure.ac
|
||||
@@ -122,7 +122,6 @@ dnl ------------------------------------
|
||||
GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2_PORT],
|
||||
[${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}],
|
||||
[po])
|
||||
-AM_PO_SUBDIRS()
|
||||
AM_GNU_GETTEXT_VERSION([0.19.1])
|
||||
AM_GNU_GETTEXT([external])
|
||||
AM_ICONV()
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user