What's new

382 custom build

oldgringo

Regular Contributor
What should I set to properly build 382 (5.02hnd) git for ac86u? I tried the same method like 380 but it always ends with fail. Thanks.
 
Could somebody help with this? It always ends just before the kernel build:
Code:
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig ../../.config
make[5]: '../../.config' is up to date.
make -f ./scripts/Makefile.build obj=scripts/kconfig oldnoconfig
scripts/kconfig/conf  --olddefconfig Kconfig
../../bcmdrivers/Kconfig.autogen:2: syntax error
Kconfig.bcm:1336: missing end statement for this entry
Kconfig:15: missing end statement for this entry
../../bcmdrivers/Kconfig.autogen:1: invalid statement
Kconfig.bcm:1338: unexpected end statement
Kconfig:20: unexpected end statement
scripts/kconfig/Makefile:84: recipe for target 'olddefconfig' failed
make[5]: *** [olddefconfig] Error 1
Makefile:565: recipe for target 'oldnoconfig' failed
make[4]: *** [oldnoconfig] Error 2
It's just a git clone, no changes. I am probably missing something here.
 
The RT-AC86U requires bash to properly build (it's something that Broadcom changed in their SDK). You might need to change /bin/sh to link it to bash instead of sh/ash.
 
The bash was the reason, thanks. Now I end on this:
Code:
scripts/Makefile.build:258: recipe for target 'scripts/mod/empty.o' failed
make[6]: *** [scripts/mod/empty.o] Error 127
scripts/Makefile.build:423: recipe for target 'scripts/mod' failed
make[5]: *** [scripts/mod] Error 2
It seems like a toolchain problem. I can see in log that /opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin/aarch64-buildroot-linux-gnu-gcc cannot be found but all is there with proper attributes.

Edit: It work's under older version of Ubuntu.
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top