[Arm-netbook] next steps help request

joem joem at martindale-electric.co.uk
Wed Sep 4 00:01:17 BST 2013


> "modify arch/arm/mach-sun7i/pm/Makefile to use $(CROSS_COMPILE)gcc-4.4"

 if you do not have arm-linux-gnueabihf-gcc-4.7 installed then you do
not have to do that.

====

Good, so I want take the next step: 
deb http://ftp.uk.debian.org/emdebian/toolchains squeeze main
deb http://ftp.uk.debian.org/emdebian/toolchains testing main

trouble is under ubuntu it has its own scheme for emdebian.

Ignoring that for now,  and doing this:

make -j3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KDIR=~/src/a10/linux-sunxi/ -C arch/arm/mach-sun7i/pm/standby all

failed miserably. 

The problem is CROSS_COMPILE=arm-linux-gnueabihf-
where the parameter is reused and
gets appended with gcc to arm-linux-gnueabihf-gcc, and of course
it does not exist because in Ubuntu it is called arm-linux-gnueabihf-gcc-4.4

So I think I still need exact syntax of 
"arch/arm/mach-sun7i/pm/Makefile to use $(CROSS_COMPILE)gcc-4.4" to get that corrected.

Anyway I symlinked arm-linux-gnueabihf-gcc to arm-linux-gnueabihf-gcc-4.4 and more progress,
but now its looking for:

arm-linux-gnueabihf-gcc -I. -I/home/jm/src/a10/linux-sunxi//include -I/home/jm/src/a10/linux-sunxi//arch/arm/mach-sun7i/include .....

Obviously KDIR needs to be set correctly - so where do I get the sources or whatever
that KDIR is supposed to point at? And is it A10 or A20?




More information about the arm-netbook mailing list