想裁剪一下uboot 去掉USB、网络、MMC等功能,用图形化工具关掉一些网络相关的组件之后编译报错,还有一些网络相关的无法取消,特来请教。
.config - U-Boot 2018.01 Configuration
→ Device Drivers ──────────────────────────────────────────────────────────────────────
┌───────────────────────────────── Device Drivers ─────────────────────────────────┐
│ ┌────↑(-)──────────────────────────────────────────────────────────────────────┐ │
│ │ [ ] Ethernet PHY (physical media interface) support ---- │ │
│ │ -*- Enable Driver Model for Ethernet drivers │ │
│ │ [ ] PCI support ---- │ │
│ │ PHY Subsystem ---> │ │
│ │ [ ] ComPhy SerDes driver │ │
│ │ Pin controllers ---> │ │
│ │ Power ---> │ │
│ │ [ ] Enable support for pulse-width modulation devices (PWM) │ │
│ │ [ ] Enable support for the sandbox PWM │ │
│ │ [ ] Enable RAM drivers using Driver Model │ │
│ │ Remote Processor drivers ---- │ │
│ │ Reset Controller Support ---> │ │
│ │ Real Time Clock ---> │ │
│ │ [ ] Support SCSI controllers │ │
│ │ Serial drivers ---> │ │
│ │ Sound support ---> │ │
│ │ SPI Support ---> │ │
│ │ SPMI support ---> │ │
│ │ System reset device drivers ---> │ │
│ │ [ ] Driver support for thermal devices │ │
│ │ Timer Support ---> │ │
│ │ TPM support ---- │ │
│ │ -*- USB support ---> │ │
│ │ Graphics support ---> │ │
│ │ Watchdog Timer Support ---> │ │
│ │ [ ] Custom physical to bus address mapping │ │
│ └──────────────────────────────────────────────────────────────────────────────┘ │
├──────────────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > < Save > < Load > │
└──────────────────────────────────────────────────────────────────────────────────┘
board/sunxi/built-in.o:在函数‘setup_environment’中:
/home/user/f1c100s/u-boot-nano-v2018.01/board/sunxi/board.c:699:对‘eth_env_set_enetaddr’未定义的引用
arm-linux-gnueabi-ld.bfd: BFD (Linaro_Binutils-2017.11) 2.28.2.20170706 断言失败 /home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514
Makefile:1261: recipe for target 'u-boot' failed
make: *** [u-boot] Error 1
离线