Skip to contentSkip to conversation

lkc support for U-Boot

PATCH New Robert Schwebel 2 participants 3 messages Nov 6, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lkc support for U-Boot

Hi,

I just had a look at Holger Schurig's lkc configuration support. Here:

http://www.pengutronix.de/software/csb226_de.html

you'll find a patch which does the following:

- add "make menuconfig" and "make xconfig" support based on lkc-1.2 and lxdialog-2.5.46 (targets have been added to toplevel makefile)

- the original sources are used, plus a small patch for lkc which can be found in tools/lkc-1.2-u-boot.diff (basically avoids that it claims to be the Linux kernel, plus some path adjustments). This means that we can easily upgrade the system to newer versions of lxdialog and lkc.

- lxdialog lives in tools/lxdialog/, lkc in tools/lkc-1.2/. No further files are touched.

config.in files have at the moment only been taken from Holger's archive, this had to be extended in the future, and naturally the build system had to be adjusted to _use_ the .config file :-)

This approach has the advantage that it is completely independend from the old config system, so both can live in parallel for some time. All the config system does is to generate a .config file from the config.in descriptions. This .config file can be used in the board support code; old boards which don't use them can do what they did before, new ones can use it.

Comments?

Robert

Signature · 8 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.
#1 lore raw

PATCH 1/1 lkc support for U-Boot

Quoted 2 lines

This approach has the advantage that it is completely independend from the old config system, so both can live in parallel for some time.

Idea: the main makefile could do something like

ifeq (.config,$(wildcard .config))
include .config
endif

This way the config would be in the Makefile and all the compiled files from therein if it exists.

Greetings, Holger

#2 lore raw

PATCH 1/1 lkc support for U-Boot

In reply to Robert Schwebel
Quoted 1 line

- the original sources are used, plus a small patch for lkc which can be

Your patch did not modify confdata.c as I have done. Without this patch, make {x|menu|old}config would read /boot/config on a Mandrake system and emit lot's of warnings.

Signature · 5 lines
MN-Logistik GmbH         http://www.mn-logistik.de
Holger Schurig
Dieselstr. 18
61191 Rosbach v.d.H?he
Tel: 06003/9141-0        Fax: 06003/9141-49