[oe-commits] Andrea Adami : kexec-tools-klibc-static: don't use OE compiler flags. Use default

git version control git at git.openembedded.org
Sat Dec 26 16:18:50 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b13f255cc0a748993f721385474171b7ba679633
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b13f255cc0a748993f721385474171b7ba679633

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Sat Dec 26 17:15:44 2009 +0100

kexec-tools-klibc-static: don't use OE compiler flags. Use default
klcc and save 20kb size omitting ggdb3. Bump PR.

---

 .../kexec-tools/kexec-tools-klibc-static_1.101.bb  |    7 ++++++-
 .../kexec-tools/kexec-tools-klibc-static_2.0.1.bb  |    7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
index 3ee699b..579af36 100644
--- a/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
@@ -1,7 +1,7 @@
 # the binaries are statical linked against klibc
 require kexec-tools.inc
 
-PR = "r7"
+PR = "r8"
 DEPENDS = "klibc"
 
 SRC_URI += "file://kexec-static.patch;patch=1 \
@@ -11,6 +11,11 @@ S = "${WORKDIR}/kexec-tools-${PV}"
 
 EXTRA_OECONF = " --without-zlib"
 
+# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""
+
 export CC=${TARGET_PREFIX}klcc
 
 PACKAGES =+ "kexec-klibc-static kdump-klibc-static"
diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
index 1c2327f..fbe8e00 100644
--- a/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
@@ -3,7 +3,7 @@ require kexec-tools2.inc
 
 DEFAULT_PREFERENCE = "1"
 
-PR = "r3"
+PR = "r4"
 DEPENDS = "klibc"
 
 SRC_URI += "file://kexec-tools-2-headers.patch;patch=1 \
@@ -16,6 +16,11 @@ EXTRA_OECONF = " --without-zlib"
 
 export CC=${TARGET_PREFIX}klcc
 
+# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""
+
 PACKAGES =+ "kexec-klibc-static kdump-klibc-static"
 
 FILES_kexec-klibc-static = "${sbindir}/kexec"





More information about the Openembedded-commits mailing list