summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/Makefile.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/arch/arm/Makefile.inc b/src/arch/arm/Makefile.inc
index 272a495681..afb8d20915 100644
--- a/src/arch/arm/Makefile.inc
+++ b/src/arch/arm/Makefile.inc
@@ -20,11 +20,6 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-###############################################################################
-# Take care of subdirectories
-###############################################################################
-subdirs-y += libgcc/
-subdirs-y += armv4/ armv7/
###############################################################################
# ARM specific options
@@ -36,6 +31,9 @@ CBFSTOOL_PRE_OPTS = -b 0
endif
ifeq ($(CONFIG_ARCH_ARM),y)
+subdirs-y += libgcc/
+subdirs-y += armv4/ armv7/
+
stages_c = $(src)/arch/arm/stages.c
stages_o = $(obj)/arch/arm/stages.o