Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Patch: parted support
Date: Fri, 9 Oct 2009 12:04:06 +0200	[thread overview]
Message-ID: <20091009120406.37806183@surf> (raw)
In-Reply-To: <20091008174543.GA2266@mx.loc>

Le Thu, 8 Oct 2009 19:45:44 +0200,
Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> a ?crit :

> nowadays packages have to be written differently, like (completely
> untested):

Yes.

> ($(BR2_ENABLE_DEBUG),y)
> PARTED_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR)
> INSTALLCMD='./install-sh -c' \ install
> else
> PARTED_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR)
> INSTALLCMD='./install-sh -c' \
> 			  STRIPPROG="$(TARGET_STRIP)" install-strip
> endif

What is this INSTALLCMD thing ?

Concerning the ENABLE_DEBUG test, it is not necessary.
Makefile.autotools.in already does:

ifeq ($(BR2_ENABLE_DEBUG),y)
$(2)_INSTALL_TARGET_OPT         ?= DESTDIR=$$(TARGET_DIR)  install-exec
else
$(2)_INSTALL_TARGET_OPT         ?= DESTDIR=$$(TARGET_DIR)  install-strip
endif


Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2009-10-09 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 15:30 [Buildroot] Patch: parted support Igor Serebryany
2009-10-08 17:45 ` Bernhard Reutner-Fischer
2009-10-09 10:04   ` 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=20091009120406.37806183@surf \
    --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