Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260551 > unrolled thread

Re: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile

Started byVineet Gupta <Vineet.Gupta1@synopsys.com>
First post2015-11-02 12:10 +0100
Last post2015-11-03 16:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-11-02 12:10 +0100
    RE: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile Noam Camus <noamc@ezchip.com> - 2015-11-03 16:40 +0100

#1260551 — Re: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile

FromVineet Gupta <Vineet.Gupta1@synopsys.com>
Date2015-11-02 12:10 +0100
SubjectRe: [PATCH v1 20/20] ARC: Add eznps platform to Kconfig and Makefile
Message-ID<qql9U-4AW-29@gated-at.bofh.it>
On Saturday 31 October 2015 06:45 PM, Noam Camus wrote:
> From: Noam Camus <noamc@ezchip.com>
> 
> This commit should be left last since only now eznps platform
> is in state which one can actually use.
> Signed-off-by: Noam Camus <noamc@ezchip.com>
> ---
>  arch/arc/Kconfig  |    1 +
>  arch/arc/Makefile |    9 +++++++++
>  2 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
> index 689ccb3..8153b79 100644
> --- a/arch/arc/Kconfig
> +++ b/arch/arc/Kconfig
> @@ -91,6 +91,7 @@ source "arch/arc/plat-sim/Kconfig"
>  source "arch/arc/plat-tb10x/Kconfig"
>  source "arch/arc/plat-axs10x/Kconfig"
>  #New platform adds here
> +source "arch/arc/plat-eznps/Kconfig"
>  
>  endmenu
>  
> diff --git a/arch/arc/Makefile b/arch/arc/Makefile
> index 8a27a48..9e5928f 100644
> --- a/arch/arc/Makefile
> +++ b/arch/arc/Makefile
> @@ -99,6 +99,15 @@ core-y		+= arch/arc/boot/dts/
>  core-$(CONFIG_ARC_PLAT_SIM)	+= arch/arc/plat-sim/
>  core-$(CONFIG_ARC_PLAT_TB10X)	+= arch/arc/plat-tb10x/
>  core-$(CONFIG_ARC_PLAT_AXS10X)	+= arch/arc/plat-axs10x/
> +core-$(CONFIG_ARC_PLAT_EZNPS)	+= arch/arc/plat-eznps/
> +
> +ifdef CONFIG_ARC_PLAT_EZNPS
> +ifeq ($(KBUILD_SRC),)
> +KBUILD_CPPFLAGS += -Iarch/arc/plat-eznps/include
> +else
> +KBUILD_CPPFLAGS += -I$(srctree)/arch/arc/plat-eznps/include
> +endif
> +endif

Are you sure you need special handling for out-of-tree build. The $srctree)
version shd work just fine for both !

>  
>  drivers-$(CONFIG_OPROFILE)	+= arch/arc/oprofile/
>  
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1261624

FromNoam Camus <noamc@ezchip.com>
Date2015-11-03 16:40 +0100
Message-ID<qqLQJ-4xa-3@gated-at.bofh.it>
In reply to#1260551
>From: Vineet Gupta [mailto:Vineet.Gupta1@synopsys.com] 
>Sent: Monday, November 02, 2015 1:07 PM

>> +ifdef CONFIG_ARC_PLAT_EZNPS
>> +ifeq ($(KBUILD_SRC),)
>> +KBUILD_CPPFLAGS += -Iarch/arc/plat-eznps/include else KBUILD_CPPFLAGS 
>> ++= -I$(srctree)/arch/arc/plat-eznps/include
>> +endif
>> +endif

>Are you sure you need special handling for out-of-tree build. The $srctree) version shd work just fine for both !
Thanks, I will use $(srctree) for both

- Noam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web