summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-26 15:45:52 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-26 15:45:52 -0300
commit6c57a552152a8a96e51cf0d327d482e774f10eb7 (patch)
tree7ad0d21733b02a8237d0c17d6278b20b28503b9a
parente1526ffa31150849a329a3974cceb151193a1364 (diff)
downloadmediapointer-dvb-s2-6c57a552152a8a96e51cf0d327d482e774f10eb7.tar.gz
mediapointer-dvb-s2-6c57a552152a8a96e51cf0d327d482e774f10eb7.tar.bz2
Cleaned an obsoleted rule
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--v4l/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index bf4aa56f2..289183f56 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -122,19 +122,19 @@ Makefile.media::
.version::
ifneq ($(KERNELRELEASE),)
- @echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE) > $(obj)/.version
+ echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE) > $(obj)/.version
else
- @echo "No version yet."
- @uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
+ echo "No version yet."
+ uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
endif
release::
ifneq ($(VER),)
- @echo "Forcing compiling to version $(VER)."
- @echo $(VER)|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
+ echo "Forcing compiling to version $(VER)."
+ -echo $(VER)|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
else
- @echo "No version specified. Using `uname -r`."
- @uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
+ echo "No version specified. Using `uname -r`."
+ -uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
endif
links::
@@ -170,9 +170,6 @@ distclean:: clean
#################################################
# Kernel module insert/removal rules
-rmmodules::
- rmmod -w $(shell echo "$(v4l_modules)"|sed s,' ','\n',g|sed s,'-','_',g|sort|uniq -d)
-
insmod load::
scripts/insmod.sh load
@@ -300,11 +297,6 @@ push::
make -C .. push
#################################################
-# Help
-help::
- @cat ../INSTALL
-
-#################################################
# build tarballs rules
RPWD := $(shell cd .. && pwd)