• Joel Stanley's avatar
    powerpc/boot: Expose Kconfig symbols to wrapper · 5e9dcb61
    Joel Stanley authored
    Currently the wrapper is built without including anything in
    $(src)/include/, which means there are no CONFIG_ symbols defined.
    This means the platform specific serial drivers were never enabled.
    
    We now copy the definitions into the boot directory, so any C file can
    now include autoconf.h to depend on configuration options.
    
    Fixes: 866bfc75 ("powerpc: conditionally compile platform-specific serial drivers")
    Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
    [mpe: Fix to use $(objtree) to find autoconf.h]
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    5e9dcb61
serial.c 3.73 KB