Niral, Yes ! look into the Kernel Makefile, and you will recognize, that its already prepared for Cross-Compiling.
Just create a small script, which exports the variable CROSS_COMPILE and ARCH, e.g. ------------8-<------------ export CROSS_COMPILE=/opt/crosstool/powerpc-e300-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/powerpc-e300-linux-gnu- export ARCH=ppc ------------8-<------------ After sourcing this script, you can use all the kernel Make-features for your cross-compile environment. Additionally, you might want to export INSTALL_PATH and INSTALL_MOD_PATH, which defines, where Kernel image and modules should be installed. -- Mit freundlichen Gruessen / Best regards Claus Gindhart Kontron Modular Computers GmbH Sudetenstraße 7, 87600 Kaufbeuren, Germany Phone: +49 (8341) 803 374 Fax: +49 (8341) 803 40 374 www.kontron.com Kontron Modular Computers GmbH Geschäftsführer: Ulrich Gehrmann, Thomas Sabisch Sitz der Gesellschaft: Kaufbeuren / Rechtsform: GmbH Amtsgericht Kempten / HRB Nr. 6195 Kontron Modular Computers GmbH Managing Directors: Ulrich Gehrmann, Thomas Sabisch Registered Office: Kaufbeuren, Germany / Legal Form: GmbH Local District Court: Kempten / Trade Register No. 6195 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of patel nirav Sent: Montag, 12. Februar 2007 07:51 To: linux ppc Subject: can crosstool cross-compile Any kernel or specific one ? I have installed crosstool from kegel.com in /opt/crosstool dictionary. Now here my question is " Can I cross compile any kernel from this cross tool or any specific kernel " ? Nirav J Patel M.Tech(CSE), Nirma University, Ahmedabad-382481. 9925138959 Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
