• Arnd Bergmann's avatar
    ARM: realview: build realview-dt SMP support only when used · 3f93c644
    Arnd Bergmann authored
    The platsmp-dt.c file does not build when CONFIG_SMP is disabled:
    
    platsmp-dt.c:84:2: error: unknown field 'smp_prepare_cpus' specified in initializer
    
    This changes the Makefile to build it conditionally on CONFIG_SMP.
    The legacy platsmp.c file is only used for ATAGS based builds, so
    we can move it into the CONFIG_ATAGS conditional.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    3f93c644
Makefile 618 Bytes