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

From: Noam Camus
Date: Tue Nov 03 2015 - 10:32:19 EST


>From: Vineet Gupta [mailto:Vineet.Gupta1@xxxxxxxxxxxx]
>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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/