From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomko Date: Tue, 21 Jun 2005 18:28:41 +0800 Subject: [U-Boot-Users] question : How to get rid of compiling the network part Message-ID: <42B7EBD9.2070507@avantwave.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, I am porting the uboot and i want to get rid of the network component at this moment, there is a function cs8900_get_enetaddr () at the start_armboot() of lib_arm/board.c (my program often hangs inside), i have set in my board/xxx.c that #undef CONFIG_DRIVER_CS8900 but after all many error from net/net.c occur . I there therefore set : #define CONFIG_COMMANDS \ ( & ~CFG_CMD_NET \ ) in order to get rid of the comilation of the network part, but the compiler keep on compiling the network part and many errors occur, do anyone know how to solve this problem ? Regards, TOM