From a796d26367ceac79898a832d9f01fe25f5c4f02a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Nov 2011 22:31:19 -0500 Subject: 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 --- Rules.mak | 1 - 1 file changed, 1 deletion(-) (limited to 'Rules.mak') 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))))) -- cgit v1.2.3