nps: Makefile - removed copy_files target as kernel modules have t...

baggins baggins at pld-linux.org
Sun Sep 18 01:34:23 CEST 2005


Author: baggins                      Date: Sat Sep 17 23:34:23 2005 GMT
Module: nps                           Tag: HEAD
---- Log message:
- removed copy_files target as kernel modules have their own Makefiles now

---- Files affected:
nps:
   Makefile (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: nps/Makefile
diff -u nps/Makefile:1.8 nps/Makefile:1.9
--- nps/Makefile:1.8	Fri Sep 16 23:59:26 2005
+++ nps/Makefile	Sun Sep 18 01:34:18 2005
@@ -1,14 +1,11 @@
 KERNEL_DIR=/usr/src/linux
-TOPDIR=$(shell pwd)
 
 KERNEL_VERSION := $(shell grep -m 1 UTS_RELEASE $(KERNEL_DIR)/include/linux/version.h | sed -e 's/.*UTS_RELEASE "\([0-9]*\.[0-9]*\)\..*"/\1/')
 BUILD_ARCH := $(shell uname -m | sed 'y/-/_/')
 
 SED_PWD := $(shell echo `pwd` | sed -e 's/\//\\\//g')
 
-.PHONY: copy_files
-
-all: copy_files
+all:
 	@make -C jnet
 	@if [ "$(KERNEL_VERSION)" = "2.6" ] && [ "$(BUILD_ARCH)" = "x86_64" ] ; then \
 	  echo "skipping nws_mc" ;\
@@ -17,7 +14,7 @@
 	fi
 	make -C poci
 
-install: copy_files
+install:
 	make install -C jnet
 	@if [ "$(KERNEL_VERSION)" = "2.6" ] && [ "$(BUILD_ARCH)" = "x86_64" ] ; then \
 	  echo "skipping nws_mc" ;\
@@ -42,14 +39,3 @@
 	make clean -C jnet
 	make clean -C nws_mc
 	make clean -C poci
-	@rm -f jnet/Makefile
-	@rm -f nws_mc/Makefile
-
-copy_files:
-	@if [ "$(KERNEL_VERSION)" = "2.4" ] ; then \
-		cp jnet/makefile.2_4 jnet/Makefile ;\
-		cp nws_mc/makefile.2_4 nws_mc/Makefile ;\
-	elif [ "$(KERNEL_VERSION)" = "2.6" ]; then \
-		cp jnet/makefile.2_6 jnet/Makefile ;\
-		cp nws_mc/makefile.2_6 nws_mc/Makefile ;\
-	fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/nps/Makefile?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list