Update README; update comment for BPI-R4; enable openssl crypto as default

This commit is contained in:
Daniel Pawlik
2024-03-08 14:02:31 +01:00
parent 89b8838d86
commit 537dee1b25
2 changed files with 22 additions and 20 deletions

View File

@@ -13,7 +13,7 @@ cd openwrt-builder
podman build -t openwrt-builder -f Dockerfile
```
## Example
## Example config
How to use:
@@ -46,6 +46,8 @@ curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/conf
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/qualcommax/ax3600/extended-full > ~/openwrt-builder/openwrt/.config
```
## Build
Configure the firmware image and the kernel:
```shell

View File

@@ -1,12 +1,12 @@
# NOTE: Below steps will not work until https://github.com/openwrt/openwrt/pull/14140
# is not merged!
# Below config is based on snapshot config:
#
# NOTE: Take the snapshot configuration file and attach the content to it.
# STEPS:
# curl -SL https://downloads.openwrt.org/snapshots/targets/mediatek/mt7988a/config.buildinfo > .config
# sed -i '/CONFIG_TARGET_DEVICE_/d' .config; sed -i 's/CONFIG_TARGET_MULTI_PROFILE=y/CONFIG_TARGET_MULTI_PROFILE=n/g' .config
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/extended >> .config
# curl -SL https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/config.buildinfo > .config
#
# To use my configuration file, which will build an image just for BPI-R4:
#
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/extended > .config
#
# Then follow the procedure: https://github.com/danpawlik/openwrt-builder?tab=readme-ov-file#Build
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_filogic=y
@@ -109,18 +109,18 @@ CONFIG_PACKAGE_bind-host=y
# language
CONFIG_LUCI_LANG_pl=y
##### REPLACE CRYPTOLIB #####
# mbedtls - comment it when openssl or wolfssl enabled!
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_wpad-basic-mbedtls=m
###### REPLACE CRYPTOLIB #####
## mbedtls - comment it when openssl or wolfssl enabled!
#CONFIG_PACKAGE_luci-ssl=y
#CONFIG_PACKAGE_wpad-mbedtls=y
#CONFIG_PACKAGE_wpad-basic-mbedtls=m
## replace mbedtls with openssl - remember to leave commented "is not set" !
#CONFIG_PACKAGE_luci-ssl-openssl=y
#CONFIG_PACKAGE_wpad-openssl=y
## CONFIG_PACKAGE_wpad-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-mbedtls is not set
## CONFIG_PACKAGE_wpad-basic-openssl is not set
# replace mbedtls with openssl - remember to leave commented "is not set" !
CONFIG_PACKAGE_luci-ssl-openssl=y
CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_wpad-basic-openssl is not set
## replace mbedtls with wolfssl - remember to leave commented "is not set" !
# CONFIG_PACKAGE_luci-ssl-wolfssl=y