nps: nws_mc/makefile.2_6 - fix makefile inclusion

baggins baggins at pld-linux.org
Sun Sep 18 01:05:16 CEST 2005


Author: baggins                      Date: Sat Sep 17 23:05:16 2005 GMT
Module: nps                           Tag: HEAD
---- Log message:
- fix makefile inclusion

---- Files affected:
nps/nws_mc:
   makefile.2_6 (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: nps/nws_mc/makefile.2_6
diff -u nps/nws_mc/makefile.2_6:1.2 nps/nws_mc/makefile.2_6:1.3
--- nps/nws_mc/makefile.2_6:1.2	Sun Jul 31 01:45:36 2005
+++ nps/nws_mc/makefile.2_6	Sun Sep 18 01:05:11 2005
@@ -1,6 +1,7 @@
 PWD:=$(shell pwd)
 KERNEL_DIR ?= /usr/src/linux
 TOPDIR ?= $(shell dirname $(PWD))
+JNETDIR ?= $(TOPDIR)/jnet
 
 TARGET=nws_mc.ko
 
@@ -9,11 +10,11 @@
 nws_mc-objs := nws_mc_src.o
 
 default:
-	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) TOPDIR=$(TOPDIR) modules
+	$(MAKE) -C $(KERNEL_DIR) M=$(PWD) TOPDIR=$(TOPDIR) JNETDIR=$(JNETDIR) modules
 clean:
 	@rm -f .nws_*
 	@rm -f nws_*.o
 	@rm -rf .tmp_versions
 	@rm -f nws_mc.mod.c nws_*.ko
 
-#include $(PWD)/makefile.common
+include $(JNETDIR)/makefile.common
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/nps/nws_mc/makefile.2_6?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list