From: Brettschneider Falk <fbrettschneider@xxxxxxxxxxxxxxxxx>
Reply-To: microblaze-uclinux@xxxxxxxxxxxxxx
To: "'microblaze-uclinux@xxxxxxxxxxxxxx'"
<microblaze-uclinux@xxxxxxxxxxxxxx>
Subject: RE: [microblaze-uclinux] tried to locally thin out uclinux_dist
source-tree
Date: Thu, 10 Nov 2005 16:48:39 +0100
Hi,
...meanwhile I solved my problem by myself.
I patched kernel-2.4.x/scripts/Menuconfig a little bit, and also the
fastdep-rule in kernel-2.4.x/Rules.make.
Anyway, 'make distclean;make menuconfig;make dep clean all;' works without
problems and the kernel starts&works.
Possible disadvantage:
- if the subdir doesn't exist (e.g. in uclinux_dist/user), it isn't
compiled
into the
kernel although it may have been selected in the menu. It is just missed
in romfs/bin then.
Advantage:
- now I can remove all subdirs of uclinux_dist for which I
don't care and which I don't select in the config menus
(the size of my copy of uclinux_dist + kernel reduced from 1GB to 60MB
here)
Cheers
F@lk
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx]On Behalf Of
> Brettschneider Falk
> Sent: Wednesday, November 09, 2005 5:43 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: [microblaze-uclinux] tried to locally thin out uclinux_dist
> source-tree
>
>
> Hi,
> since we have a local copy of uclinux_dist in our CVS I tried
> to thin out
> the uclinux_dist source-tree and I have (locally) removed all
> dirs which are
> unused in all cases here - just to make things clearer and
> more simple.
> Yeah, calling 'make all' still works.
> But 'make menuconfig' crashes in script
> linux-2.4.x/scripts/Menuconfig in
> function activate_menu() line 832 with a mystic error
> message. The reason
> seems to be that it doesn't found my removed files Config.in
> during its
> recursive work.
> Now my question is: has anyone a cool fix that script
> Menuconfig skips all
> not existing dirs (==sub menus/entries) mentioned in a
> certain Config.in
> file and doesn't abort? I mean it should be possible that I
> just get a menu
> with entries for existing stuff, shouldn't it...
>
> Cheers
> F@lk
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/