Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix stripped file warnings
@ 2012-03-21 12:12 Paul Eggleton
  2012-03-21 12:12 ` [PATCH 1/3] hdparm: fix stripped file warning Paul Eggleton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-03-21 12:12 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 5d404fdb36b0535ce758d98408b02134cdbce4ee:

  xserver-kdrive: compile xserver without dtrace support (2012-03-20 15:21:18 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib paule/nostrip1
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/nostrip1

Paul Eggleton (3):
  hdparm: fix stripped file warning
  libacpi: fix stripped file warning
  syslinux: fix stripped file warnings

 meta/recipes-bsp/libacpi/libacpi_0.2.bb            |    3 +-
 .../recipes-devtools/syslinux/files/no-strip.patch |   31 ++++++++++++++++++++
 meta/recipes-devtools/syslinux/syslinux_4.03.bb    |    5 ++-
 meta/recipes-extended/hdparm/hdparm_9.39.bb        |    4 ++
 4 files changed, 40 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/syslinux/files/no-strip.patch

-- 
1.7.5.4




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] hdparm: fix stripped file warning
  2012-03-21 12:12 [PATCH 0/3] Fix stripped file warnings Paul Eggleton
@ 2012-03-21 12:12 ` Paul Eggleton
  2012-03-21 12:12 ` [PATCH 2/3] libacpi: " Paul Eggleton
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-03-21 12:12 UTC (permalink / raw)
  To: openembedded-core

Fix the following package warning:
WARNING: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-extended/hdparm/hdparm_9.39.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/hdparm/hdparm_9.39.bb b/meta/recipes-extended/hdparm/hdparm_9.39.bb
index d8342cc..ed076cc 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.39.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.39.bb
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=910a8a42c962d238619c75fdb78bdb24 \
                     file://wiper/GPLv2.txt;md5=fcb02dc552a041dee27e4b85c7396067 \
                     file://wiper/wiper.sh;beginline=7;endline=31;md5=b7bc642addc152ea307505bf1a296f09"
 
+PR = "r1"
+
 PACKAGES += "wiper"
 
 FILES_wiper = "${bindir}/wiper.sh"
@@ -20,6 +22,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
 SRC_URI[md5sum] = "2bc17b72403885d4faf959682944243b"
 SRC_URI[sha256sum] = "72d550af4526aa96f0841c79321a0ee39d636cbaf1f294e52193e90c054b3cea"
 
+EXTRA_OEMAKE += 'STRIP="echo"'
+
 do_install () {
 	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8 ${D}/${bindir}
 	oe_runmake 'DESTDIR=${D}' 'sbindir=${base_sbindir}' install
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] libacpi: fix stripped file warning
  2012-03-21 12:12 [PATCH 0/3] Fix stripped file warnings Paul Eggleton
  2012-03-21 12:12 ` [PATCH 1/3] hdparm: fix stripped file warning Paul Eggleton
@ 2012-03-21 12:12 ` Paul Eggleton
  2012-03-21 12:12 ` [PATCH 3/3] syslinux: fix stripped file warnings Paul Eggleton
  2012-03-21 14:07 ` [PATCH 0/3] Fix " Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-03-21 12:12 UTC (permalink / raw)
  To: openembedded-core

Fix the following package warning:
WARNING: File '/usr/bin/test-libacpi' from libacpi was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-bsp/libacpi/libacpi_0.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 2d98fae..1a6dc97 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -5,7 +5,7 @@ SECTION = "base"
 HOMEPAGE = "http://www.ngolde.de/libacpi.html"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
 	   file://makefile-fix.patch \
@@ -23,6 +23,7 @@ FILES_${PN}-bin = "${bindir}"
 COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
 
 CFLAGS += "-fPIC"
+EXTRA_OEMAKE += 'STRIP="echo"'
 
 do_install() {
 	oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] syslinux: fix stripped file warnings
  2012-03-21 12:12 [PATCH 0/3] Fix stripped file warnings Paul Eggleton
  2012-03-21 12:12 ` [PATCH 1/3] hdparm: fix stripped file warning Paul Eggleton
  2012-03-21 12:12 ` [PATCH 2/3] libacpi: " Paul Eggleton
@ 2012-03-21 12:12 ` Paul Eggleton
  2012-03-21 14:07 ` [PATCH 0/3] Fix " Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-03-21 12:12 UTC (permalink / raw)
  To: openembedded-core

Fix the following package warnings:
WARNING: File '/usr/bin/memdiskfind' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/syslinux' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/gethostip' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/isohybrid' from syslinux was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 .../recipes-devtools/syslinux/files/no-strip.patch |   31 ++++++++++++++++++++
 meta/recipes-devtools/syslinux/syslinux_4.03.bb    |    5 ++-
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/syslinux/files/no-strip.patch

diff --git a/meta/recipes-devtools/syslinux/files/no-strip.patch b/meta/recipes-devtools/syslinux/files/no-strip.patch
new file mode 100644
index 0000000..775851a
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/files/no-strip.patch
@@ -0,0 +1,31 @@
+Disable stripping of binaries
+
+We don't want to strip these as this is handled separately at package
+time.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+
+--- syslinux-4.03.orig/mtools/Makefile
++++ syslinux-4.03/mtools/Makefile
+@@ -4,7 +4,7 @@ include $(topdir)/MCONFIG
+ OPTFLAGS = -g -Os
+ INCLUDES = -I. -I.. -I../libfat -I../libinstaller
+ CFLAGS	 = $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
+-LDFLAGS	 = -s
++LDFLAGS	 =
+ 
+ SRCS     = syslinux.c \
+ 	   ../libinstaller/fat.c \
+--- syslinux-4.03.orig/utils/Makefile
++++ syslinux-4.03/utils/Makefile
+@@ -18,7 +18,7 @@ topdir = ..
+ include $(topdir)/MCONFIG
+ 
+ CFLAGS   = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+-LDFLAGS  = -O2 -s
++LDFLAGS  = -O2
+ 
+ TARGETS	 = mkdiskimage isohybrid gethostip memdiskfind
+ TARGETS += isohybrid.pl  # about to be obsoleted
diff --git a/meta/recipes-devtools/syslinux/syslinux_4.03.bb b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
index 2ab6878..a8a1f94 100644
--- a/meta/recipes-devtools/syslinux/syslinux_4.03.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
@@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 # If you really want to run syslinux, you need mtools.  We just want the
 # ldlinux.* stuff for now, so skip mtools-native
 DEPENDS = "nasm-native"
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/4.xx/syslinux-${PV}.tar.bz2 \
-           file://cross-build.patch"
+           file://cross-build.patch \
+           file://no-strip.patch"
 
 SRC_URI[md5sum] = "a7ca38a0a5786b6efae8fb01a1ae8070"
 SRC_URI[sha256sum] = "c65567e324f9d1f7f794ae8f9578a0292bbd47d7b8d895a004d2f0152d0bda38"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] Fix stripped file warnings
  2012-03-21 12:12 [PATCH 0/3] Fix stripped file warnings Paul Eggleton
                   ` (2 preceding siblings ...)
  2012-03-21 12:12 ` [PATCH 3/3] syslinux: fix stripped file warnings Paul Eggleton
@ 2012-03-21 14:07 ` Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-03-21 14:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2012-03-21 at 12:12 +0000, Paul Eggleton wrote:
> The following changes since commit 5d404fdb36b0535ce758d98408b02134cdbce4ee:
> 
>   xserver-kdrive: compile xserver without dtrace support (2012-03-20 15:21:18 +0000)
> 
> are available in the git repository at:
>   git://git.openembedded.org/openembedded-core-contrib paule/nostrip1
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/nostrip1
> 
> Paul Eggleton (3):
>   hdparm: fix stripped file warning
>   libacpi: fix stripped file warning
>   syslinux: fix stripped file warnings

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-21 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 12:12 [PATCH 0/3] Fix stripped file warnings Paul Eggleton
2012-03-21 12:12 ` [PATCH 1/3] hdparm: fix stripped file warning Paul Eggleton
2012-03-21 12:12 ` [PATCH 2/3] libacpi: " Paul Eggleton
2012-03-21 12:12 ` [PATCH 3/3] syslinux: fix stripped file warnings Paul Eggleton
2012-03-21 14:07 ` [PATCH 0/3] Fix " Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox