From: Dmitry Torokhov Date: Mon, 22 Nov 2010 20:39:28 +0000 (-0800) Subject: Input: clean up Makefile (use input-core-y) X-Git-Tag: v2.6.38-rc1~463^2^2~15 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ebde50d5a49122c164f81958a03993e1c947c0b6;p=~shefty%2Frdma-dev.git Input: clean up Makefile (use input-core-y) The proper way to specify multi-source object is to use -y instead of -obj (which is deprecated) as it allows conditional inclusion of modules in the list. Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/Makefile b/drivers/input/Makefile index 7ad212d31f9..9fd1cf2b705 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -5,7 +5,7 @@ # Each configuration option enables a list of files. obj-$(CONFIG_INPUT) += input-core.o -input-core-objs := input.o input-compat.o ff-core.o +input-core-y := input.o input-compat.o ff-core.o obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o