lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 782/862] ARM: orion: fix include path
    Date
    From: Arnd Bergmann <arnd@arndb.de>

    [ Upstream commit 63872304bdb3decd5454f4dd210c25395278ed13 ]

    Now that CONFIG_ARCH_MULTIPLATFORM can be disabled anywhere,
    there is a build failure for plat-orion:

    arch/arm/plat-orion/irq.c:19:10: fatal error: plat/irq.h: No such file or directory

    Make the include path unconditional.

    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/plat-orion/Makefile | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/plat-orion/Makefile b/arch/arm/plat-orion/Makefile
    index 4e3f25de13c1..830b0be038c6 100644
    --- a/arch/arm/plat-orion/Makefile
    +++ b/arch/arm/plat-orion/Makefile
    @@ -2,7 +2,7 @@
    #
    # Makefile for the linux kernel.
    #
    -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
    +ccflags-y := -I$(srctree)/$(src)/include

    orion-gpio-$(CONFIG_GPIOLIB) += gpio.o
    obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 11:38    [W:3.306 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site