OSDN Git Service

buildsys: drop manual TARGET_SUBARCH .config lookup
authorMike Frysinger <vapier@gentoo.org>
Sun, 27 Nov 2011 03:31:19 +0000 (22:31 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 27 Nov 2011 03:36:49 +0000 (22:36 -0500)
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>
Rules.mak

index dc5b80b..c419174 100644 (file)
--- 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)))))