build: remove hw.uart.console and unused COMPORT support

It doesn't work anymore for EFI on FreeBSD 13.
This commit is contained in:
Franco Fichtner 2022-02-18 10:48:38 +01:00
parent cb27020462
commit 2e4601721e
4 changed files with 2 additions and 10 deletions

View File

@ -88,7 +88,6 @@ ADDITIONS?= # empty
DEBUG?= # empty
DEVICE?= A10
COMSPEED?= 115200
COMPORT?= 0x3f8
UEFI?= arm dvd serial vga vm
ZFS?= # empty
GITBASE?= https://github.com/opnsense
@ -177,7 +176,7 @@ ${STEP}: lint-steps
-m ${MIRRORS:Ox:[1]} -o "${STAGEDIRPREFIX}" -c ${COMSPEED} \
-b ${SRCBRANCH} -B ${PORTSBRANCH} -e ${PLUGINSBRANCH} \
-g ${TOOLSBRANCH} -E ${COREBRANCH} -G ${PORTSREFBRANCH} \
-H "${COREENV}" -u "${UEFI:tl}" -U "${SUFFIX}" -i ${COMPORT} \
-H "${COREENV}" -u "${UEFI:tl}" -U "${SUFFIX}" \
-V "${ADDITIONS}" -O "${GITBASE}" -r "${SERVER}" \
-h "${PLUGINSENV}" -I "${UPLOADDIR}" -D "${EXTRABRANCH}" \
-A "${PORTSREFURL}" -J "${PORTSENV}" ${${STEP}_ARGS}

View File

@ -64,7 +64,6 @@ Available build options are:
* ABI: a custom ABI (defaults to SETTINGS)
* ADDITIONS: a list of packages/plugins to add to images
* ARCH: the target architecture if not native
* COMPORT: serial port, e.g. "0x3f8" (default)
* COMSPEED: serial speed, e.g. "115200" (default)
* DEBUG: build a debug kernel with additional object information
* DEVICE: loads device-specific modifications, e.g. "A10" (default)

View File

@ -28,7 +28,7 @@
set -e
OPTS="A:a:B:b:C:c:D:d:E:e:F:f:G:g:H:h:I:i:J:K:k:L:l:m:n:O:o:P:p:R:r:S:s:T:t:U:u:v:V:"
OPTS="A:a:B:b:C:c:D:d:E:e:F:f:G:g:H:h:I:J:K:k:L:l:m:n:O:o:P:p:R:r:S:s:T:t:U:u:v:V:"
while getopts ${OPTS} OPT; do
case ${OPT} in
@ -86,9 +86,6 @@ while getopts ${OPTS} OPT; do
I)
export UPLOADDIR=${OPTARG}
;;
i)
export PRODUCT_COMPORT=${OPTARG}
;;
J)
export PORTSENV=${OPTARG}
;;
@ -191,7 +188,6 @@ PORTSDIR
PORTSREFDIR
PRODUCT_ABI
PRODUCT_ARCH
PRODUCT_COMPORT
PRODUCT_COMSPEED
PRODUCT_DEVICE_REAL
PRODUCT_FLAVOUR

View File

@ -87,7 +87,6 @@ comconsole_speed="${PRODUCT_COMSPEED}"
console="comconsole,vidconsole"
boot_multicons="YES"
boot_serial="YES"
hw.uart.console="io:${PRODUCT_COMPORT},br:${PRODUCT_COMSPEED}"
EOF
touch ${1}/.probe.for.growfs.nano
@ -110,7 +109,6 @@ EOF
comconsole_speed="${PRODUCT_COMSPEED}"
console="comconsole"
boot_serial="YES"
hw.uart.console="io:${PRODUCT_COMPORT},br:${PRODUCT_COMSPEED}"
EOF
}