summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-02-01 12:12:21 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-02-04 12:44:59 +0100
commit6b679f6377235787bd1570859126730974566633 (patch)
tree6076ac8e446bc97c1b2d815ff5a6324ec6994219
parentcd6524b62bd137c4e1ba2c25561ce42a1c2556f4 (diff)
downloadptxdist-6b679f6377235787bd1570859126730974566633.tar.gz
ptxdist-6b679f6377235787bd1570859126730974566633.tar.xz
libc: let LIBC_ symbols always be selectable
...even if no libc is activated. E.g. when using a static only toolchain, like cortex-m3. This fixes the following warnings: warning: (...) selects LIBC_DL which has unmet direct dependencies (LIBC) Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/libc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/libc.in b/rules/libc.in
index 63bb47226..b4aa3b9f2 100644
--- a/rules/libc.in
+++ b/rules/libc.in
@@ -28,6 +28,8 @@ endchoice
source "generated/libc.in"
+endif
+
config LIBC_C
bool
select GLIBC_C if LIBC_GLIBC
@@ -106,8 +108,6 @@ config LIBC_NSL
select GLIBC_NSL if LIBC_GLIBC
select UCLIBC_NSL if LIBC_UCLIBC
-endif
-
#
# needed to keep dependencies working
# there must be a package selecting BASE