From b64fc7ae9036d15175c5dacaf8df3b9109eaf2f5 Mon Sep 17 00:00:00 2001 From: Peter Henn Date: Thu, 1 Jan 2009 11:46:58 +0100 Subject: [PATCH] Rename spi_tty into spi_parport Just rename spi_tty.c into spi_parport.c need for git to keep track version history. Update the Makefile accordingly. --- Makefile | 22 ++++++++++++---------- spi_tty.c => spi_parport.c | 0 2 files changed, 12 insertions(+), 10 deletions(-) rename spi_tty.c => spi_parport.c (100%) diff --git a/Makefile b/Makefile index 9f13a83..f490819 100644 --- a/Makefile +++ b/Makefile @@ -5,20 +5,20 @@ # directly by the user), or as the sub-dir Makefile used by the kernel # build system. -# If CONFIG_SPI_TTY isn't set, we'll assume the user has never configured +# If CONFIG_SPI_PARPORT isn't set, we'll assume the user has never configured # their kernel to include this module and set up some defaults. # # NOTE: If you have previously added the SPI_TTY project to your kernel # and configured it for inclusion, these settings will be # overridden by your kernel configuration. -ifndef CONFIG_SPI_TTY +ifndef CONFIG_SPI_PARPORT EXTERNAL_BUILD=y -CONFIG_SPI_TTY=m -CONFIG_SPI_TTY_DEBUG=n +CONFIG_SPI_PARPORT=m +CONFIG_SPI_PARPORT_DEBUG=n endif -ifeq ($(CONFIG_SPI_TTY_DEBUG),y) +ifeq ($(CONFIG_SPI_PARPORT_DEBUG),y) EXTRA_CFLAGS += -g -Wa,-adhlms=$@.lst endif @@ -28,8 +28,8 @@ endif list-m := -list-$(CONFIG_SPI_TTY) += spi_tty -obj-$(CONFIG_SPI_TTY) += spi_tty.o +list-$(CONFIG_SPI_PARPORT) += spi_parport +obj-$(CONFIG_SPI_PARPORT) += spi_parport.o # # Begin dual Makefile mode here. First we provide support for when we @@ -40,8 +40,8 @@ ifneq ($(KERNELRELEASE),) EXTRA_CFLAGS += -DCONFIG_PM ifeq ($(EXTERNAL_BUILD),y) -ifeq ($(CONFIG_SPI_TTY_DEBUG),y) -EXTRA_CFLAGS += -DCONFIG_SPI_TTY_DEBUG +ifeq ($(CONFIG_SPI_PARPORT_DEBUG),y) +EXTRA_CFLAGS += -DCONFIG_SPI_PARPORT_DEBUG endif endif @@ -79,6 +79,8 @@ clean: $(RM) -f *.mod.* *.mod *.o *.ko .*.o.cmd .*.ko.cmd *.flags .lst *.lst Module*.symvers $(RM) -rf $(PWD)/tmp $(RM) -rf .tmp_versions + $(RM) -f modules.order + $(RM) -f Module.markers distclean: clean rm -f tags TAGS @@ -103,7 +105,7 @@ else # We've got a kernel with seperate output, copy the config, and use O= endif install: modules - modprobe -r spi_tty || true + modprobe -r spi_parport || true install -d $(INSTALLDIR) install -m 644 -c $(addsuffix .ko,$(list-m)) $(INSTALLDIR) /sbin/depmod -a ${KVER} diff --git a/spi_tty.c b/spi_parport.c similarity index 100% rename from spi_tty.c rename to spi_parport.c -- 2.11.0