1 |
I'm compiling both an i586 AMD Geode and an arm TS7200 |
2 |
using the documentation (could be a neat handbook, btw) |
3 |
http://www.gentoo.org/proj/en/base/embedded/cross-development.xml |
4 |
|
5 |
When using xmake to compile a kernel, if I choose from the list of |
6 |
canonicalized machine names |
7 |
http://www.gentoo.org/proj/en/base/embedded/cross-development.xml#machine_names |
8 |
|
9 |
There are various possibilities, but if I choose i586 and issue the |
10 |
following commands: |
11 |
|
12 |
cd /usr/i586-gentoo-linux-uclibc/usr/src/linux |
13 |
|
14 |
make ARCH="i586" CROSS_COMPILE="i586-gentoo-linux-uclibc-" |
15 |
INSTALL_MOD_PATH="$SYSROOT" menuconfig |
16 |
|
17 |
I get the error |
18 |
Makefile:412: /usr/i586-gentoo-linux-uclibc/usr/src/linux-2.6.22-gentoo-r9/arch/i586/Makefile: No such file or directory |
19 |
make: *** No rule to make target |
20 |
`/usr/i586-gentoo-linux-uclibc/usr/src/linux-2.6.22-gentoo-r9/arch/i586/Makefile'. Stop. |
21 |
|
22 |
I realize that all machine architectures listed in the article linked |
23 |
above are not possible. I assume i386, i486, i586 and i686 must use |
24 |
their lowest-common-denominator ancestor, i386. |
25 |
|
26 |
It might be worth adding a note to the documentation |
27 |
http://www.gentoo.org/proj/en/base/embedded/cross-development.xml#xkmake |
28 |
|
29 |
explaining these and other exceptions. |
30 |
|
31 |
My question is this, is the exception (or caveat) I noted valid for ALL |
32 |
instances of xmake's usage? |
33 |
|
34 |
Meaning is it only the kernel that must be treated this way or any |
35 |
modules I would compile? Are there times when it is better to invoke |
36 |
make with the specific ARCH (in my case i586)? |
37 |
|
38 |
Thank you very much for your help and patience. |
39 |
|
40 |
|
41 |
-- |
42 |
gentoo-embedded@g.o mailing list |