KFERMercer / OpenWrt-CI

OpenWrt CI 在线集成自动编译环境
MIT License
1.41k stars 5.92k forks source link

请问如果想编小米路由器pro(mir3p)的固件编译设置固件那里是否可以这样写 #51

Closed jackberry closed 4 years ago

jackberry commented 4 years ago
         cat >> .config <<EOF
          CONFIG_DEFAULT_TARGET_ramips_mt7621=y
          CONFIG_TARGET_ramips=y
          CONFIG_TARGET_ramips_mt7621=y
          CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mir3g=y
          CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mir3p=y
          CONFIG_HAS_SUBTARGETS=y
          CONFIG_HAS_DEVICES=y
          CONFIG_TARGET_BOARD="ramips"
          CONFIG_TARGET_SUBTARGET="mt7621"
          CONFIG_TARGET_ARCH_PACKAGES="mipsel_24kc"
          CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc"
          CONFIG_CPU_TYPE="24kc"
          EOF
KFERMercer commented 4 years ago

如果在本机op目录下使用这个配置能自动选择小米路由器pro, 说明就可以.