Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

From: Johannes Berg
Date: Mon Nov 03 2014 - 15:20:39 EST


On Mon, 2014-11-03 at 11:56 -0800, Luis R. Rodriguez wrote:

> With my current code I end up with on a package (not integration):
>
> config BACKPORT_BUILD_AVERAGE
> bool
> depends on !AVERAGE
> default y if BACKPORT_USERSEL_BUILD_ALL
> default y if BACKPORT_AVERAGE
> #h-file linux/average.h
> #c-file lib/average.c
>
> config BACKPORT_AVERAGE
> bool
>
>
> I do see I on the package with this on the Makfile though:
>
>
> compat-$(CONFIG_BACKPORT_BACKPORT_BUILD_AVERAGE) += lib-average.o
>
> Would it not suffice to just ensure we don't have BACKPORT_BACKPORT_
> here and just BACKPORT_ once ?

The BACKPORT_BACKPORT_ is actually correct ... but it'll be really hard
to make sense of :-)

johannes

--
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/