diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-08-11 16:14:32 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-08-12 00:12:32 +0200 |
commit | c7cf8a93b510bbbc550eb12d6c07b0df100e198c (patch) | |
tree | 00d9a247e82ed56b8a23cce9fcbcda8334a42918 | |
parent | cdf2dd29d38303823319c40b1cc7dcf95a996f58 (diff) | |
download | ptxdist-c7cf8a93b510bbbc550eb12d6c07b0df100e198c.tar.gz ptxdist-c7cf8a93b510bbbc550eb12d6c07b0df100e198c.tar.xz |
[glibc] introduce symbol for the dynamic loader
Until this patch the installation of the dynamic loader was coupled to
the glibc. This patch makes it possible to select the glibc but don't
install any libs at all.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | rules/glibc.in | 9 | ||||
-rw-r--r-- | rules/glibc.make | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/rules/glibc.in b/rules/glibc.in index 7296742cc..b0e489209 100644 --- a/rules/glibc.in +++ b/rules/glibc.in @@ -9,10 +9,19 @@ menu "glibc " comment "Install options" +config GLIBC_LD + bool + help + This is the dynamic loader (e.g.: "/lib/ld-2.8.90.so") + + You don't want to deselect this, unless you have a pure + static system. This is why this options hasn't a prompt. + config GLIBC_C bool default y prompt "Install libc" + select GLIBC_LD help Any Unix-like operating system needs a C library: the library which defines the "system calls" and diff --git a/rules/glibc.make b/rules/glibc.make index e01ae3a37..a831b2d91 100644 --- a/rules/glibc.make +++ b/rules/glibc.make @@ -77,7 +77,7 @@ $(STATEDIR)/glibc.targetinstall: @$(call install_fixup, glibc,DEPENDS,) @$(call install_fixup, glibc,DESCRIPTION,missing) -ifdef PTXCONF_GLIBC +ifdef PTXCONF_GLIBC_LD @$(call install_copy_toolchain_dl, glibc, /lib) endif |