diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-16 19:48:29 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-16 19:48:29 +0000 |
commit | 514d454bb18034bfe2edbe8ed8830e364298a32f (patch) | |
tree | 364e923d144d22c2df0d9ff14ecb371cfeb2f92a /rules/glibc.make | |
parent | c22066c289a250a59f43f41ef1cda918590e8d9d (diff) | |
download | ptxdist-514d454bb18034bfe2edbe8ed8830e364298a32f.tar.gz ptxdist-514d454bb18034bfe2edbe8ed8830e364298a32f.tar.xz |
* uclibc.in, gcclibs.in, libc.in, uclibc.make, glibc.make:
new LIBC layer for deps to c library
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8043 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/glibc.make')
-rw-r--r-- | rules/glibc.make | 47 |
1 files changed, 18 insertions, 29 deletions
diff --git a/rules/glibc.make b/rules/glibc.make index bf13104f5..13b5d40ef 100644 --- a/rules/glibc.make +++ b/rules/glibc.make @@ -1,9 +1,9 @@ # -*-makefile-*- # $Id$ # -# Copyright (C) 2005 by Marc Kleine-Budde <mkl@pengutronix.de>, Pengutronix e.K., Hildesheim, Germany -# Copyright (C) 2003 by Auerswald GmbH & Co. KG, Schandelah, Germany -# Copyright (C) 2002 by Pengutronix e.K., Hildesheim, Germany +# Copyright (C) 2002 by Pengutronix e.K., Hildesheim, Germany +# Copyright (C) 2003 by Auerswald GmbH & Co. KG, Schandelah, Germany +# Copyright (C) 2005-2008 by Marc Kleine-Budde <mkl@pengutronix.de>, Pengutronix e.K., Hildesheim, Germany # # See CREDITS for details about who has contributed to this project. # @@ -25,32 +25,25 @@ GLIBC_VERSION := $(call remove_quotes,$(PTXCONF_GLIBC_VERSION)) # Get # ---------------------------------------------------------------------------- -glibc_get: $(STATEDIR)/glibc.get - $(STATEDIR)/glibc.get: - @$(call targetinfo, $@) - @$(call touch, $@) - + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -glibc_extract: $(STATEDIR)/glibc.extract - $(STATEDIR)/glibc.extract: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -glibc_prepare: $(STATEDIR)/glibc.prepare - $(STATEDIR)/glibc.prepare: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Compile @@ -59,27 +52,23 @@ $(STATEDIR)/glibc.prepare: glibc_compile: $(STATEDIR)/glibc.compile $(STATEDIR)/glibc.compile: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -glibc_install: $(STATEDIR)/glibc.install - $(STATEDIR)/glibc.install: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -glibc_targetinstall: $(STATEDIR)/glibc.targetinstall - $(STATEDIR)/glibc.targetinstall: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install_init, glibc) @$(call install_fixup, glibc,PACKAGE,glibc) @@ -94,7 +83,7 @@ ifdef PTXCONF_GLIBC @$(call install_copy_toolchain_dl, glibc, /lib) endif -ifdef PTXCONF_GLIBC_LIBC +ifdef PTXCONF_GLIBC_C @$(call install_copy_toolchain_lib, glibc, libc.so.6) endif @@ -106,7 +95,7 @@ ifdef PTXCONF_GLIBC_THREAD_DB @$(call install_copy_toolchain_lib, glibc, libthread_db.so) endif -ifdef PTXCONF_GLIBC_LIBRT +ifdef PTXCONF_GLIBC_RT @$(call install_copy_toolchain_lib, glibc, librt.so) endif @@ -122,7 +111,7 @@ ifdef PTXCONF_GLIBC_UTIL @$(call install_copy_toolchain_lib, glibc, libutil.so) endif -ifdef PTXCONF_GLIBC_LIBM +ifdef PTXCONF_GLIBC_M @$(call install_copy_toolchain_lib, glibc, libm.so) endif @@ -192,7 +181,7 @@ endif # done; @$(call install_finish, glibc) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |