mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] converting busybox config for ptxdist
Date: Mon, 02 Apr 2012 12:49:29 +0200	[thread overview]
Message-ID: <4F798439.7070304@pengutronix.de> (raw)
In-Reply-To: <3622537.SPjKJXt9bK@ws-stein>


[-- Attachment #1.1: Type: text/plain, Size: 1603 bytes --]

On 04/02/2012 12:28 PM, Alexander Stein wrote:
> Hello,
> 
> Am Freitag, 30. März 2012, 10:57:59 schrieb Alexander Dahl:
>> Am 2012-03-30 09:55, schrieb Alexander Dahl:
>>> Hope this is a little more clear than my guessing from memory
>>> yesterday. O:-)
>>
>> Argh, there's one step I forgot. In rules/busybox.make this is of
>> course converted back to a config file busybox build understands, but
>> because of the equal prefix, this is a trivial task with sed:
>>
>>  37 $(STATEDIR)/busybox.prepare:
>>  38     @$(call targetinfo)
>>  39
>>  40     @cd $(BUSYBOX_DIR) && \
>>  41         $(BUSYBOX_PATH)  \
>>  42         $(MAKE) distclean $(BUSYBOX_MAKE_OPT)
>>  43     @grep -e PTXCONF_BUSYBOX_ $(PTXDIST_PTXCONFIG) | \
>>  44         sed -e 's/PTXCONF_BUSYBOX_/CONFIG_/g' >
>> $(BUSYBOX_DIR)/.config
>>  45
>>  46     @$(call ptx/oldconfig, BUSYBOX)
>>  47
>>  48     @$(call touch)
> 
> That's the forward part to convert a ptxdist busybox config to the busybox 
> original config. But how to create the ptxdist internal one from busybox?
> 
> Marc, Ladislav,
> do you mind sharing the script, command, whatever to convert the busybox 
> config to the ptxdist one?

Here you go:

ptxdist make busybox_import

which triggers a rule in here:
rules/post/ptxd_make_import.make

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-04-02 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 15:27 Alexander Stein
2012-03-29 21:44 ` Alexander Dahl
2012-03-30  7:55   ` Alexander Dahl
2012-03-30  8:57     ` Alexander Dahl
2012-04-02 10:28       ` Alexander Stein
2012-04-02 10:49         ` Marc Kleine-Budde [this message]
2012-04-02 11:36           ` Alexander Stein
2012-04-02 11:37             ` Marc Kleine-Budde

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=4F798439.7070304@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=alexander.stein@systec-electronic.com \
    --cc=ptxdist@pengutronix.de \
    /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