From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] linenoise: install nothing on target
Date: Mon, 8 Sep 2014 21:41:09 +0200 [thread overview]
Message-ID: <20140908214109.4fb94ee1@free-electrons.com> (raw)
In-Reply-To: <1410201034-11041-2-git-send-email-francois.perrad@gadz.org>
Dear Francois Perrad,
On Mon, 8 Sep 2014 20:30:34 +0200, Francois Perrad wrote:
> linenoise is a static library, so it's enough to install on staging.
> and the linenoise_example executable is not really useful.
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> package/linenoise/linenoise.mk | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
> index 562b445..34f85ed 100644
> --- a/package/linenoise/linenoise.mk
> +++ b/package/linenoise/linenoise.mk
> @@ -21,10 +21,4 @@ define LINENOISE_INSTALL_STAGING_CMDS
> $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
> endef
>
> -define LINENOISE_INSTALL_TARGET_CMDS
> - $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
> - $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
> - $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
> -endef
> -
> $(eval $(generic-package))
Then maybe add:
# Static library only, nothing to install on target
LINENOISE_INSTALL_TARGET = NO
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2014-09-08 19:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 18:30 [Buildroot] [PATCH 1/2] linenoise: bump version Francois Perrad
2014-09-08 18:30 ` [Buildroot] [PATCH 2/2] linenoise: install nothing on target Francois Perrad
2014-09-08 19:41 ` Thomas Petazzoni [this message]
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=20140908214109.4fb94ee1@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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