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>
This commit is contained in:
Patrick Georgi 2015-04-29 20:28:03 +02:00 committed by Patrick Georgi
parent b5e1984594
commit 8ef8afbb38
1 changed files with 3 additions and 5 deletions

View File

@ -20,11 +20,6 @@
## along with this program; if not, write to the Free Software ## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## 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 # ARM specific options
@ -36,6 +31,9 @@ CBFSTOOL_PRE_OPTS = -b 0
endif endif
ifeq ($(CONFIG_ARCH_ARM),y) ifeq ($(CONFIG_ARCH_ARM),y)
subdirs-y += libgcc/
subdirs-y += armv4/ armv7/
stages_c = $(src)/arch/arm/stages.c stages_c = $(src)/arch/arm/stages.c
stages_o = $(obj)/arch/arm/stages.o stages_o = $(obj)/arch/arm/stages.o