it's early and i'm out of coffee so this might be a dumb question
but i want to clarify the set of steps to prep a pristine kernel
source tree outside of the actual source against which to cross
compile a module.
the setup:
KERNELSRCDIR=<location of pristine 2.6.10 source tree>
KERNELBUILDDIR=<where i want the prepped results to go>
ARCH=m68k
CROSS_COMPILE=m68k-linux-gnu-
/tmp/config (the m68k-specific config file to use)
does the following look sane?
$ rm -rf ${KERNELBUILDDIR} # start clean
$ mkdir ${KERNELBUILDDIR}
$ cp /tmp/config ${KERNELBUILDDIR}/.config
$ make -C ${KERNELSRCDIR} O=${KERNELBUILDDIR} ARCH=m68k
CROSS_COMPILE=m68k-linux-gnu oldconfig
$ make -C ${KERNELBUILDDIR} ARCH=m68k CROSS_COMPILE=m68k-linux-gnu-
modules_prepare
i *think* that's all i need to get a build directory against which i
can cross-compile modules. thoughts? can i tighten up that set of
steps at all. i'm wondering if the "oldconfig" step needs to be told
both of ARCH= and CROSS_COMPILE=.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ