From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 15/16] bzip2: ensure target directories exist before copying into
Date: Thu, 9 Dec 2010 10:55:13 +0100 [thread overview]
Message-ID: <1291888514-31385-16-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1291888514-31385-1-git-send-email-llandwerlin@gmail.com>
From: Lionel Landwerlin <llandwerlin@gmail.com>
Also simply installation rules a little
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
package/bzip2/bzip2.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index 3f341ee..38bb461 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -39,7 +39,9 @@ define BZIP2_BUILD_CMDS
endef
define BZIP2_INSTALL_STAGING_CMDS
- cp $(@D)/bzlib.h $(STAGING_DIR)/usr/include/
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
+ $(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
+ $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/lib
cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(STAGING_DIR)/usr/lib/
cp $(@D)/libbz2.a $(STAGING_DIR)/usr/lib/
(cd $(STAGING_DIR)/usr/lib/; \
@@ -49,9 +51,7 @@ define BZIP2_INSTALL_STAGING_CMDS
)
endef
-# make sure busybox doesn't get overwritten by make install
define BZIP2_INSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/,bzip2 bunzip2 bzcat)
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(TARGET_DIR)/usr/lib/
--
1.7.2.3
next prev parent reply other threads:[~2010-12-09 9:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 9:54 [Buildroot] [pull request v2] For branch pre-package-generation-2011.02 llandwerlin at gmail.com
2010-12-09 9:54 ` [Buildroot] [PATCH 01/16] gdk-pixbuf: fix dependency on libiconv llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 02/16] dbus: ensure startup script is well installed llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 03/16] hostapd: ensure hostapd binaries are installed in the right place llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 04/16] cloop: ensure target directory exist before copying into llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 05/16] i2c-tools: ensure binaries are installed in the right place llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 06/16] udev: ensure startup script is well installed llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 07/16] busybox: move udhcp script from skeleton to package llandwerlin at gmail.com
2010-12-12 23:31 ` Peter Korsgaard
2010-12-13 20:03 ` Thomas Petazzoni
2010-12-09 9:55 ` [Buildroot] [PATCH 08/16] sdl_sound: avoid using non reevaluated $(STAGING_DIR) llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 09/16] sdl_gfx: " llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 10/16] cups: " llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 11/16] rsync: avoid using non reevaluated $(TARGET_DIR) in RSYNC_INSTALL_TARGET_OPT llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 12/16] gdk-pixbuf: ensure startup script is well installed llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 13/16] pango: " llandwerlin at gmail.com
2010-12-09 9:55 ` [Buildroot] [PATCH 14/16] at: " llandwerlin at gmail.com
2010-12-09 9:55 ` llandwerlin at gmail.com [this message]
2010-12-09 9:55 ` [Buildroot] [PATCH 16/16] directfb-examples: rework target installation rule to match package infrastructure llandwerlin at gmail.com
2010-12-12 23:42 ` [Buildroot] [pull request v2] For branch pre-package-generation-2011.02 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291888514-31385-16-git-send-email-llandwerlin@gmail.com \
--to=llandwerlin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox