I want to use rock pi as access point to a phone or tablet device. I followed this link - https://wiki.radxa.com/Rock/Wireless/AP_mode_manually#AP_mode.28RR_acts_as_wireless_router.29
From the wiki page :
" 1.2 Install toolchain.
1.3 Download the kernel from the address: root@radxa:/tmp# git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git
or download here
Compile the driver
Attention please： first,ensure your kernel has been compiled"
— There are no instructions for kernel compilation.
I tried to follow the readme.txt and it throws the following error for ‘make’
rock@linux:~/linux-rockchip$ sudo make
[sudo] password for rock:
make: ‘include/generated/mach-types.h’ is up to date.
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
gcc: error: unrecognized command line option ‘-mapcs’; did you mean ‘–specs’?
gcc: error: unrecognized command line option ‘-mno-sched-prolog’; did you mean ‘-Wno-sign-promo’?
gcc: error: unrecognized command line option ‘-msoft-float’
/home/rock/linux-rockchip/./Kbuild:35: recipe for target ‘kernel/bounds.s’ failed
make: *** [kernel/bounds.s] Error 1
Makefile:999: recipe for target ‘prepare0’ failed
make: *** [prepare0] Error 2
please help with kernel compilation or suggesting other methods.
P.S - I have Ubuntu bionic image