From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Stein Date: Mon, 02 Apr 2012 12:28:50 +0200 Message-ID: <3622537.SPjKJXt9bK@ws-stein> In-Reply-To: <9285d40e7d7afd73395f0b4b3439d866@idefix.lespocky.dyndns.org> References: <4279042.qQmJKy4iuN@ws-stein> <30541aaf2fdbbff00370fd0237cbcdd2@idefix.lespocky.dyndns.org> <9285d40e7d7afd73395f0b4b3439d866@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Subject: Re: [ptxdist] converting busybox config for ptxdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Marc Kleine-Budde Hello, Am Freitag, 30. M=E4rz 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? Regards, Alexander -- = Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH August-Bebel-Str. 29 D-07973 Greiz Tel: +49-3661-6279-0, Fax: +49-3661-6279-99 eMail: Alexander.Stein@systec-electronic.com Internet: http://www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563 -- = ptxdist mailing list ptxdist@pengutronix.de