Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
28
Issues
28
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
9dc0a17a
Commit
9dc0a17a
authored
May 03, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kconfig: removed CONFIG_PP_PRINTF, now the only choice
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
1caf090d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
15 deletions
+5
-15
Kconfig
Kconfig
+1
-6
Makefile
Makefile
+2
-3
etherbone_defconfig
configs/etherbone_defconfig
+0
-1
ppsi_defconfig
configs/ppsi_defconfig
+0
-1
spec_defconfig
configs/spec_defconfig
+0
-1
wrnic_defconfig
configs/wrnic_defconfig
+0
-1
printf.mk
pp_printf/printf.mk
+2
-2
No files found.
Kconfig
View file @
9dc0a17a
...
...
@@ -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
...
...
Makefile
View file @
9dc0a17a
...
...
@@ -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
\
...
...
configs/etherbone_defconfig
View file @
9dc0a17a
...
...
@@ -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
...
...
configs/ppsi_defconfig
View file @
9dc0a17a
...
...
@@ -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
...
...
configs/spec_defconfig
View file @
9dc0a17a
...
...
@@ -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
...
...
configs/wrnic_defconfig
View file @
9dc0a17a
...
...
@@ -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
...
...
pp_printf/printf.mk
View file @
9dc0a17a
# 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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment