|
本帖最后由 lucktu 于 2020-6-14 16:31 编辑
我是只编译一个固件,在 /opt/rt-n56u/trunk/configs/boards 里面建立了对应的文件夹,把配置文件拷贝成 /opt/rt-n56u/trunk/.config 进行编译的
现在我在 ubuntu16.04 下,使用楼主所用的padavan源码,并把楼主的驱动拷贝进去,将原来的mt76x3_ap、mt76x3改名,并把楼主的目录做软链指向mt76x3_ap、mt76x3,然后使用padavan源码里的方法(fakeroot ./build_firmware_modify newifi2),出错了:
- ... ...
- make[3]: Leaving directory '/opt/rt-n56u/trunk/tools/mksquashfs_xz/squashfs-4.3'
- cp squashfs-4.3/unsquashfs ./
- make[2]: Leaving directory '/opt/rt-n56u/trunk/tools/mksquashfs_xz'
- make[1]: Leaving directory '/opt/rt-n56u/trunk/tools'
- make ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc- -j1 -C linux-3.4.x || exit 1
- make[1]: Entering directory '/opt/rt-n56u/trunk/linux-3.4.x'
- scripts/kconfig/conf --silentoldconfig Kconfig
- drivers/net/wireless/ralink/mt76x3_ap/Kconfig:423: can't open file "drivers/net/wireless/ralink/mt76x3_ap/Kconfig.org"
- /opt/rt-n56u/trunk/linux-3.4.x/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
- make[3]: *** [silentoldconfig] Error 1
- /opt/rt-n56u/trunk/linux-3.4.x/Makefile:489: recipe for target 'silentoldconfig' failed
- make[2]: *** [silentoldconfig] Error 2
- make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
- make[1]: Leaving directory '/opt/rt-n56u/trunk/linux-3.4.x'
- Makefile:150: recipe for target 'linux' failed
- make: *** [linux] Error 1
复制代码- root@lt:~# cd /opt/rt-n56u/trunk/linux-3.4.x
- root@lt:/opt/rt-n56u/trunk/linux-3.4.x# make config
- scripts/kconfig/conf --oldaskconfig Kconfig
- drivers/net/wireless/ralink/mt76x3_ap/Kconfig:423: can't open file "drivers/net/wireless/ralink/mt76x3_ap/Kconfig.org"
- /opt/rt-n56u/trunk/linux-3.4.x/scripts/kconfig/Makefile:24: recipe for target 'config' failed
- make[1]: *** [config] Error 1
- Makefile:485: recipe for target 'config' failed
- make: *** [config] Error 2
- root@lt:/opt/rt-n56u/trunk/linux-3.4.x#
复制代码
|
|