summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-07-31 08:32:50 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-07-31 08:32:50 +0000
commit6b91d10341c41ce90722c7a1fe0f77a412d2d8ae (patch)
tree9650c1671fe7e659826876cf9a297b4a0fb6c3ac
parent2ead079b32216b1ceb7901dd0b0bce3d5badb164 (diff)
downloadOSELAS.Toolchain-master.tar.gz
OSELAS.Toolchain-master.tar.xz
* glibc-ports: fix version detectionHEADmaster
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@12137 f8d472c7-5700-0410-ac5a-87979cec3adf
-rw-r--r--rules/glibc-ports.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/glibc-ports.make b/rules/glibc-ports.make
index 07ff4ff..d29cf73 100644
--- a/rules/glibc-ports.make
+++ b/rules/glibc-ports.make
@@ -18,11 +18,13 @@ PACKAGES-$(PTXCONF_GLIBC_PORTS) += glibc-ports
#
# Paths and names
#
-ifneq ($(PTXCONF_GLIBC_VERSION),"")
+ifneq ($(call remove_quotes $(PTXCONF_GLIBC_PORTS_VERSION)),)
GLIBC_PORTS_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_VERSION))
+else
+GLIBC_PORTS_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_VERSION))
endif
-ifneq ($(PTXCONF_GLIBC_PORTS_TIMESTAMP),"")
+ifneq ($(call remove_quotes $(PTXCONF_GLIBC_PORTS_TIMESTAMP)),)
GLIBC_PORTS_TIMESTAMP := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_TIMESTAMP))
GLIBC_PORTS := glibc$(GLIBC_PORTS_VERSION)-ports$(GLIBC_PORTS_TIMESTAMP)
else