summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-26 22:31:19 -0500
committerMike Frysinger <vapier@gentoo.org>2011-11-26 22:36:49 -0500
commita796d26367ceac79898a832d9f01fe25f5c4f02a (patch)
tree26d08933aa31dbf6118296e2bd4aa4a70b9d9f11
parent1bb0e53db30041c09e540dbfc6bd185acbd8cfc5 (diff)
buildsys: drop manual TARGET_SUBARCH .config lookup
We source the .config file, so there should be no need to manually extract it. If the sourcing doesn't work, then a lot of things break in this file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--Rules.mak1
1 files changed, 0 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index dc5b80b0e..c41917484 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -93,7 +93,6 @@ endif
export ARCH
# Make certain these contain a final "/", but no "//"s.
-TARGET_SUBARCH:=$(call qstrip,$(shell grep -s '^TARGET_SUBARCH' $(top_builddir)/.config | $(SED) -e 's/^TARGET_SUBARCH=//'))
TARGET_SUBARCH:=$(call qstrip,$(TARGET_SUBARCH))
RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(call qstrip,$(RUNTIME_PREFIX)))))
DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(call qstrip,$(DEVEL_PREFIX)))))