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:
parent
b5e1984594
commit
8ef8afbb38
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue