summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-29 20:28:03 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-30 15:39:29 +0200
commit8ef8afbb38734fea50b926c94e994b2682328a0d (patch)
tree29c23a4812b58022cd1ca70053693ce436806f3e /src/arch
parentb5e1984594525878172fb17abf3939e71963a5ff (diff)
downloadcoreboot-8ef8afbb38734fea50b926c94e994b2682328a0d.tar.xz
arch/arm: only include subdirectories for ARM builds
Change-Id: Ieac02fcc4508f7c1b194802453d6222b902a38a2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10032 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch')
-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