summaryrefslogtreecommitdiffstats
path: root/rules/glibc.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-09 10:13:09 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-09 10:13:09 +0000
commitd93e3cc9db5cdc6af08498dc74374dfddaf5ea02 (patch)
treea3a2217e7ddfa81ce4b2536cd92285fcea935833 /rules/glibc.make
parent02bfda3a650b098abb60e4d98c541cee25f27031 (diff)
downloadptxdist-d93e3cc9db5cdc6af08498dc74374dfddaf5ea02.tar.gz
ptxdist-d93e3cc9db5cdc6af08498dc74374dfddaf5ea02.tar.xz
* glibc install stage
- install the libraries only on request - this is a quick hack only. Must be reviewed git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6291 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/glibc.make')
-rw-r--r--rules/glibc.make13
1 files changed, 10 insertions, 3 deletions
diff --git a/rules/glibc.make b/rules/glibc.make
index 02b7591ab..d1a7b8db8 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -5,7 +5,7 @@
# Copyright (C) 2003 by Auerswald GmbH & Co. KG, Schandelah, Germany
# Copyright (C) 2002 by Pengutronix e.K., Hildesheim, Germany
#
-# See CREDITS for details about who has contributed to this project.
+# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
@@ -23,7 +23,6 @@ endif
GLIBC := glibc-$(GLIBC_VERSION)
-
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
@@ -83,6 +82,13 @@ glibc_targetinstall: $(STATEDIR)/glibc.targetinstall
$(STATEDIR)/glibc.targetinstall: $(glibc_targetinstall_deps_default)
@$(call targetinfo, $@)
+#
+# Hack Alert:
+# Do not install anything if the user
+# do not wants it. GLIBC_INSTALL should disable
+# the whole packet instead of the ipkg only....
+#
+ifdef PTXCONF_GLIBC_INSTALL
@$(call install_init, glibc)
@$(call install_fixup, glibc,PACKAGE,glibc)
@@ -181,6 +187,7 @@ endif
$(call install_copy, glibc, 0, 0, 0644, $(GLIBC_ZONEDIR)/zoneinfo/$$target, /usr/share/zoneinfo/$$target) \
done;
@$(call install_finish, glibc)
+endif
@$(call touch, $@)
@@ -188,7 +195,7 @@ endif
# Clean
# ----------------------------------------------------------------------------
-glibc_clean:
+glibc_clean:
-rm -rf $(STATEDIR)/glibc*
# vim: syntax=make