From d93e3cc9db5cdc6af08498dc74374dfddaf5ea02 Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Thu, 9 Nov 2006 10:13:09 +0000 Subject: * 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 --- rules/glibc.make | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'rules') 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 -- cgit v1.2.3