Commit 9dc0a17a authored by Alessandro Rubini's avatar Alessandro Rubini

Kconfig: removed CONFIG_PP_PRINTF, now the only choice

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 1caf090d
......@@ -11,12 +11,7 @@ config STACKSIZE
int
default 2048
config PP_PRINTF
boolean
default y
config PRINT_BUFSIZE
depends on PP_PRINTF
int
default 128
......@@ -88,7 +83,7 @@ config STACKSIZE
at run time. (However, we have a detector for overflows).
config PRINT_BUFSIZE
depends on PP_PRINTF && DEVELOPER
depends on DEVELOPER
int "Size for the temporary output string of pp_printf"
default 128
help
......
......@@ -32,9 +32,8 @@ obj-y += softpll/softpll_ng.o
$(CC) -include $(AUTOCONF) -E -P $*.ld.S -o $@
cflags-y = -ffreestanding -include $(AUTOCONF) -Iinclude -I. -Isoftpll
cflags-$(CONFIG_PP_PRINTF) += -I$(CURDIR)/pp_printf
cflags-y = -ffreestanding -include $(AUTOCONF) -Iinclude -I. -Isoftpll
cflags-y += -I$(CURDIR)/pp_printf
cflags-$(CONFIG_PTP_NOPOSIX) += \
-DPTPD_FREESTANDING \
......
......@@ -3,7 +3,6 @@
#
CONFIG_RAMSIZE=90112
CONFIG_STACKSIZE=2048
CONFIG_PP_PRINTF=y
CONFIG_PRINT_BUFSIZE=128
CONFIG_PRINTF_XINT=y
CONFIG_PTP_NOPOSIX=y
......
......@@ -3,7 +3,6 @@
#
CONFIG_RAMSIZE=90112
CONFIG_STACKSIZE=2048
CONFIG_PP_PRINTF=y
CONFIG_PRINT_BUFSIZE=128
CONFIG_PRINTF_XINT=y
# CONFIG_PTP_NOPOSIX is not set
......
......@@ -3,7 +3,6 @@
#
CONFIG_RAMSIZE=90112
CONFIG_STACKSIZE=2048
CONFIG_PP_PRINTF=y
CONFIG_PRINT_BUFSIZE=128
CONFIG_PRINTF_XINT=y
CONFIG_PTP_NOPOSIX=y
......
......@@ -3,7 +3,6 @@
#
CONFIG_RAMSIZE=90112
CONFIG_STACKSIZE=2048
CONFIG_PP_PRINTF=y
CONFIG_PRINT_BUFSIZE=128
CONFIG_PRINTF_XINT=y
CONFIG_PTP_NOPOSIX=y
......
# This is included from ../Makefile, for the wrc build system.
# The Makefile in this directory is preserved from the upstream version
obj-$(CONFIG_PP_PRINTF) += pp_printf/printf.o
obj-y += pp_printf/printf.o
ppprintf-$(CONFIG_PRINTF_FULL) += pp_printf/vsprintf-full.o
ppprintf-$(CONFIG_PRINTF_MINI) += pp_printf/vsprintf-mini.o
......@@ -10,6 +10,6 @@ ppprintf-$(CONFIG_PRINTF_XINT) += pp_printf/vsprintf-xint.o
ppprintf-y ?= pp_printf/vsprintf-xint.o
obj-$(CONFIG_PP_PRINTF) += $(ppprintf-y)
obj-y += $(ppprintf-y)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment