[uClibc-cvs] svn commit: trunk/uClibc
sjhill at uclibc.org
sjhill at uclibc.org
Sat May 14 23:40:19 UTC 2005
Author: sjhill
Date: 2005-05-14 17:40:19 -0600 (Sat, 14 May 2005)
New Revision: 10329
Log:
Add TOPDIR prefix in front of config file when getting target architecture.
Modified:
trunk/uClibc/Rules.mak
Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak 2005-05-14 22:32:43 UTC (rev 10328)
+++ trunk/uClibc/Rules.mak 2005-05-14 23:40:19 UTC (rev 10329)
@@ -93,7 +93,7 @@
then echo "$(1)"; else echo "$(2)"; fi)
# Make certain these contain a final "/", but no "//"s.
-TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH .config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g')
+TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH $(TOPDIR)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g')
RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX))))))
DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX))))))
export RUNTIME_PREFIX DEVEL_PREFIX
More information about the uClibc-cvs
mailing list