Re: [PATCH 6/6] Build system and MAINTAINERS entry for WM97xx touchscreen drivers

From: Sam Ravnborg
Date: Thu Jan 10 2008 - 10:41:41 EST


Hi Mark.

On Thu, Jan 10, 2008 at 11:51:10AM +0000, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Liam Girdwood <liam.girdwood@xxxxxxxxxxxxxxxx>
> ---
> MAINTAINERS | 9 ++++++
> drivers/input/touchscreen/Kconfig | 52 ++++++++++++++++++++++++++++++++++++
> drivers/input/touchscreen/Makefile | 17 +++++++++++
> 3 files changed, 78 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile
> index 35d4097..864d3b7 100644
> --- a/drivers/input/touchscreen/Makefile
> +++ b/drivers/input/touchscreen/Makefile
> @@ -4,6 +4,8 @@
>
> # Each configuration option enables a list of files.
>
> +wm97xx-ts-objs := wm97xx-core.o
Use
wm97xx-ts-y := wm97xx-core.o

> +
> obj-$(CONFIG_TOUCHSCREEN_ADS7846) += ads7846.o
> obj-$(CONFIG_TOUCHSCREEN_BITSY) += h3600_ts_input.o
> obj-$(CONFIG_TOUCHSCREEN_CORGI) += corgi_ts.o
> @@ -19,3 +21,18 @@ obj-$(CONFIG_TOUCHSCREEN_PENMOUNT) += penmount.o
> obj-$(CONFIG_TOUCHSCREEN_TOUCHRIGHT) += touchright.o
> obj-$(CONFIG_TOUCHSCREEN_TOUCHWIN) += touchwin.o
> obj-$(CONFIG_TOUCHSCREEN_UCB1400) += ucb1400_ts.o
> +obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o
> +obj-$(CONFIG_TOUCHSCREEN_WM97XX_PXA) += pxa-wm97xx.o
> +
> +ifeq ($(CONFIG_TOUCHSCREEN_WM9713),y)
> +wm97xx-ts-objs += wm9713.o
> +endif
So this becomes:
wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o

Same for the other two assignments.

Sam


> +
> +ifeq ($(CONFIG_TOUCHSCREEN_WM9712),y)
> +wm97xx-ts-objs += wm9712.o
> +endif
> +
> +ifeq ($(CONFIG_TOUCHSCREEN_WM9705),y)
> +wm97xx-ts-objs += wm9705.o
> +endif
> +
--
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/