diff mbox

[14/26] Input: synaptics-rmi4: Clean up Makefile

Message ID 1446766843-30852-1-git-send-email-aduggan@synaptics.com (mailing list archive)
State Superseded
Headers show

Commit Message

Andrew Duggan Nov. 5, 2015, 11:40 p.m. UTC
The Makefile contained commands for a different build environment. These
should be removed and are not needed in the upstream kernel.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
---
 drivers/input/rmi4/Makefile | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

Linus Walleij Nov. 9, 2015, 1:12 p.m. UTC | #1
On Fri, Nov 6, 2015 at 12:40 AM, Andrew Duggan <aduggan@synaptics.com> wrote:

> The Makefile contained commands for a different build environment. These
> should be removed and are not needed in the upstream kernel.
>
> Signed-off-by: Andrew Duggan <aduggan@synaptics.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Squash into the offending commit.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/input/rmi4/Makefile b/drivers/input/rmi4/Makefile
index 63bc595..37b6789 100644
--- a/drivers/input/rmi4/Makefile
+++ b/drivers/input/rmi4/Makefile
@@ -8,19 +8,3 @@  rmi_core-$(CONFIG_RMI4_F11) += rmi_f11.o
 obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o
 
 ccflags-$(CONFIG_RMI4_DEBUG) += -DDEBUG
-
-ifeq ($(KERNELRELEASE),)
-
-# KERNELDIR ?= /home/<AndroidKernelDirectory>
-PWD := $(shell pwd)
-
-.PHONY: build clean
-
-build:
-	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
-
-clean:
-	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c
-
-endif
-