ext: hal: altera: Don't depend on NEWLIB_LIBC

Contrary to what was written in its Kconfig, hal/altera depends not
on Newlib, but on a baseline POSIXish define like O_NONBLOCK. Minimal
libc now provides them, so there're no issues with building Altera
for either minimal on newlib libc.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-10-10 00:21:34 +03:00 committed by Anas Nashif
commit a0c0b2b43e
2 changed files with 0 additions and 5 deletions

View file

@ -1,7 +1,6 @@
CONFIG_NIOS2=y
CONFIG_SOC_NIOS2_QEMU=y
CONFIG_BOARD_QEMU_NIOS2=y
CONFIG_NEWLIB_LIBC=y
CONFIG_HAS_ALTERA_HAL=y
CONFIG_CONSOLE=y
CONFIG_PRINTK=y

View file

@ -5,10 +5,6 @@
#
# SPDX-License-Identifier: Apache-2.0
# Some of the Altera HAL drivers depends on newlibc
# library, So make sure to enable the NEWLIB_LIBC
# before selecting the Altera HAL.
menuconfig HAS_ALTERA_HAL
bool "Altera HAL drivers support"
depends on NIOS2
depends on NEWLIB_LIBC