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 |