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

baggins baggins at pld-linux.org
Sun Sep 18 01:04:50 CEST 2005


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

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

---- Diffs:

================================================================
Index: nps/jnet/makefile.2_6
diff -u nps/jnet/makefile.2_6:1.2 nps/jnet/makefile.2_6:1.3
--- nps/jnet/makefile.2_6:1.2	Sun Jul 31 01:41:11 2005
+++ nps/jnet/makefile.2_6	Sun Sep 18 01:04:45 2005
@@ -1,6 +1,7 @@
 PWD=$(shell pwd)
 KERNEL_DIR ?= /usr/src/linux
 TOPDIR ?= $(shell dirname $(PWD))
+JNETDIR ?= $(TOPDIR)/jnet
 
 TARGET = jnet_prs.ko
 
@@ -9,7 +10,7 @@
 jnet_prs-objs := jnet_plat_src.o jnet_shared.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 .jnet*
@@ -17,4 +18,4 @@
 	@rm -rf .tmp_versions
 	@rm -f jnet_prs.mod.c jnet_*.ko
 
-#include $(PWD)/makefile.common
+include $(JNETDIR)/makefile.common
================================================================

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




More information about the pld-cvs-commit mailing list