From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Gurevich Date: Wed, 05 Mar 2003 16:51:19 -0800 Subject: [U-Boot-Users] Boot the kernel from a JFFS2 filesystem In-Reply-To: <20030305234701.ADBDDC6E0C@atlas.denx.de> References: <20030305234701.ADBDDC6E0C@atlas.denx.de> Message-ID: <3E669B87.7030302@paulidav.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, Wolfgang Denk wrote: > Of course, as I'm compiling for a PowerPC system. BUT, when you compile stuff in /tools you use a native compiler, as you mentioned in the previous email, don't you? That points out to a small problem in U-boot (and Linux) include directory structure. Basically, you cannot compile source that include machine-dependent code from include/asm using a native compiler, since asm points to the target-specific asm directory. That means that Jocke's crc32.c file cannot be shared between u-boot code and tools, since it contains machine-specific code. :( Any good ideas on how to avoid that? I guess, Jocke had his /tools compiled long time ago and only tried PPC-specific stuff, that seems to work. Anyway, you two can definitely resolve this. Best regards, Vladimir