Patrick Turley <PatrickTurley@...>
On Jan 31, 2013, at 10:50 PM, Bruce Ashfield <bruce.ashfield@...> wrote:
On 13-01-23 10:17 AM, Patrick Turley wrote:I absolutely *am* still interested in this issue, and thank you for taking another look.I'm not sure if you are still interested in this topic, but I took
There are two commands that I'm interested in executing:
-- make oldconfig
-- make scripts
(Since I install the SDK under /opt, I use sudo when running these commands, but I don't *think* that's important.)
Here's what happens with the first command:
$ sudo make oldconfig ARCH=arm
scripts/kconfig/conf --oldconfig Kconfig
# configuration written to .config
As you say, adding "ARCH=arm" puts the build at ease and it completes just fine.
Here's what happens with the second command:
$ sudo make scripts ARCH=arm
scripts/kconfig/conf --silentoldconfig Kconfig
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
scripts/mod/empty.c:1: error: bad value (armv5t) for -march= switch
scripts/mod/empty.c:1: error: bad value (armv5t) for -mtune= switch
make: *** [scripts/mod/empty.o] Error 1
make: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
Recall that, when I do *not* give the "ARCH=arm" argument, I get reams of config questions, but the build works.
This is an improvement in that the config questions are gone but, of course, the build fails.
Perhaps it *should* fail. Perhaps I'm doing something that actually doesn't make sense. Or perhaps I'm doing something that Yocto just isn't ready to support. At this point, I should say:
1) I have a workaround for all this, so I am *not* dead in the water.
2) I am a kernel building n00b and it legitimately may not be worth your time (or anyone else's) to continue to look at this until I "catch up." I don't want anyone throwing up their hands in frustration and saying "Doesn't this guy know anything?" It's perfectly reasonable to cut me off at this point :)