[uClinux-dev] Adding new board support in latest snapshot

Adam Kropelin Adam.Kropelin at netlinkaccess.com
Tue Nov 13 17:59:31 EST 2001


----- Original Message -----
From: "Tom Walsh" <tom at cyberiansoftware.com>
To: <uclinux-dev at uclinux.org>
Sent: Tuesday, November 13, 2001 4:44 PM
Subject: Re: [uClinux-dev] Adding new board support in latest snapshot


> Adam Kropelin wrote:
> >
> > CONFIG_DEFAULTS_XXX define. However, lower-level kernel configuration
fails
> > on account of not knowing the ARCH, PLATFORM, and BOARD definitions.
>
> ??  It is "broken"?!  What "fails"?  Please be more specific..

I didn't say anything was "broken". I presume I just haven't tweaked the
right file in the right way.

Below is a sample session from "make config" at the top level. Top level
config goes fine, but the automatically-run config at the kernel level
fails, presumably because it doesn't know the definition of PLATFORM. (my
clue is the "//" in the make error.)

--Adam

[root at devbox uClinux-dist]# make config
config/mkconfig > config.in
#
# Using defaults found in .config
#
*
* Target Platform Selection
*
*
* Choose a Vendor/Product combination.
*
Vendor/Product (3com/PalmIIIx, 3com/Xcopilot, Arnewsh/M5206, Arnewsh/M5307,
Atmel/AT91, Cadre-III/M5206eC3, Cadre-III/M5307C3, Conexant/P52,
Cytek/NETmp3, Lineo/DISKtel, Lineo/eLIA, Lineo/MP3, Lineo/NETtel1500,
Lineo/NETtel3540, Lineo/SecureEdge2540, Lineo/SecureEdge2570,
Lineo/SecureEdgeVPN, Lineo/uCdimm, Lineo/uCsimm, Motorola/M5206eLITE,
Motorola/M5272, Motorola/M5407, Netburner/CFV240, Netlink/ExpressLink,
NetSilicon/NET+ARM) [Netlink/ExpressLink]
  defined CONFIG_DEFAULTS_NETLINK_EXPRESSLINK
Kernel Version (uClinux-2.0.x, uClinux-2.4.x) [uClinux-2.0.x]
  defined CONFIG_DEFAULTS_KERNEL_2_0
Libc Version (uClibc, uC-libc) [uC-libc]
  defined CONFIG_DEFAULTS_OLDUCLIBC
Default all settings (lose changes) (CONFIG_DEFAULTS_OVERRIDE) [N/y/?]
Customize Kernel Settings (CONFIG_DEFAULTS_KERNEL) [Y/n/?]
Customize Vendor/User Settings (CONFIG_DEFAULTS_VENDOR) [N/y/?]
Update Default Vendor Settings (CONFIG_DEFAULTS_VENDOR_UPDATE) [Y/n/?]

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

cp: vendors/Netlink/ExpressLink/config.linux: No such file or directory
make[1]: Entering directory `/opt/uClinux/new/uClinux-dist'
make -C linux oldconfig
make[2]: Entering directory `/opt/uClinux/new/uClinux-dist/linux'
arch/m68knommu/Makefile:44: arch/m68knommu/platform//Rules.make: No such
file or directory
make[2]: *** No rule to make target `arch/m68knommu/platform//Rules.make'.
Stop.
make[2]: Leaving directory `/opt/uClinux/new/uClinux-dist/linux'
make[1]: *** [oldconfig_linux] Error 2
make[1]: Leaving directory `/opt/uClinux/new/uClinux-dist'
make[1]: Entering directory `/opt/uClinux/new/uClinux-dist'
make -C linux config
make[2]: Entering directory `/opt/uClinux/new/uClinux-dist/linux'
arch/m68knommu/Makefile:44: arch/m68knommu/platform//Rules.make: No such
file or directory
make[2]: *** No rule to make target `arch/m68knommu/platform//Rules.make'.
Stop.
make[2]: Leaving directory `/opt/uClinux/new/uClinux-dist/linux'
make[1]: *** [linux_config] Error 2
make[1]: Leaving directory `/opt/uClinux/new/uClinux-dist'
make: *** [config] Error 2


This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list