freebsd-dev/sys/arm/conf/ARMADA38X
Warner Losh 7d65d42046 Fix bogusly declared WERRORs in kernel build
Many arm kernel configs bogusly specified WERROR=-Werror. There's no
reason for this because the default is that and there's no reason to
override. These date from a time when we needed to add additional
warning->error suppression. They are obsolete and were cut and paste
propagated from file to file.

Comment out all the WERROR=.... lines in powerpc. They aren't bogus,
but were appropriate for the old defaults for gcc4.2.1. Now that we've
made the policy decision to suppress -Werror by default on these
platforms, it is appropriate to comment these out. People wishing to
fix these errors can still un-comment them out, or say WERROR=-Werror
on the command line.

Fix two instances (cut and paste propagation) of hard-coded -Werror
in x86 code. Replace with ${WERROR} instead. This is a no-op change
except for people who build WERROR=-Wno-error :).

This should fix tinderbox / CI breakage.
2019-08-25 19:39:31 +00:00

105 lines
1.4 KiB
Plaintext

#
# Kernel configuration for Marvell Armada38x
#
# $FreeBSD$
#
include "../mv/armada38x/std.armada38x"
include "std.armv7"
ident ARMADA38X
options SOC_MV_ARMADA38X
makeoptions MODULES_EXTRA="dtb/mv"
#options MD_ROOT
#makeoptions MFS_IMAGE=/path/to/miniroot
#options ROOTDEVNAME=\"ufs:md0\"
options ROOTDEVNAME=\"/dev/da0s1a\"
options SCHED_ULE # ULE scheduler
options SMP
options VM_KMEM_SIZE_MAX=0x9CCD000
# Pseudo devices
device pty
device loop
device md
# Serial ports
device uart
device uart_snps
# Network
device ether
device vlan
device mii
device bpf
device mdio
device etherswitch
device e6000sw
device neta
# PCI
device pci
# Interrupt controllers
device gic
# Timers
device mpcore_timer
# USB
device usb
device ehci
device xhci
device umass
device scbus
device pass
device da
# MMC/SD/SDIO Card slot support
device mmc # mmc/sd bus
device mmcsd # mmc/sd flash cards
device sdhci # mmc/sd host controller
# SATA
device ahci
# I2C
device iic
device iicbus
device twsi
# SPI
device spibus
device spigen
device mv_spi
# Wireless NIC cards
device wlan # 802.11 support
device ath # Atheros NIC's
device ath_pci # Atheros pci/cardbus glue
device ath_hal
device ath_rate_sample
options ATH_ENABLE_11N
# CESA
device cesa
device crypto
device cryptodev
# L2 Cache
device pl310
options PLATFORM
# FDT
options FDT
# GPIO
device gpio
device gpioled