Package: et131x-source
Severity: important
Tags: patch

* Package name    : et131x-source
  Version               : 1.2.3-3

I just try to build et131x modules for one of my installed kernels and 
found out that et131-source package does not obey -k option and fails 
to build if user sends kernel source/header paths. 

Another problem is that a Makefile fix is merged into the diff.gz file 
itself and this is wrong.

I'm attaching two patch files and modified series file to address 
mentioned problems. 

Cheers,
Alan


--- Makefile	2007-08-07 07:32:57.000000000 +0330
+++ et131x-1.2.3/Makefile	2007-08-07 07:33:16.000000000 +0330
@@ -111,8 +111,8 @@ clean:
 	rm -f *.o *.d *~ core
 
 modules_install:
-	cp $(MODNAME).o $(MODULE_DIR)/kernel/drivers/net
-	/sbin/depmod -a -q
+	cp -p $(MODNAME).o $(MODULE_DIR)/kernel/drivers/net
+#	/sbin/depmod -a -q
 
 else
 

diff -urpN et131x-1.2.3/debian/rules et131x-1.2.3.new/debian/rules
--- et131x-1.2.3/debian/rules	2007-08-07 07:37:09.000000000 +0330
+++ et131x-1.2.3.new/debian/rules	2007-08-07 07:37:36.000000000 +0330
@@ -97,7 +97,7 @@ binary-modules: kdist_config
 	dh_clean -k
 	dh_installdirs lib/modules/$(KVERS)/extra
 	# Build the module
-	$(MAKE) KERNEL_SRC="$(KSRC)" KVERS=$(KVERS)
+	$(MAKE) KERNEL_SRC=$(KSRC) KVERS=$(KVERS)
 	# Install the module
 	cp et131x.$ko debian/$(PKGNAME)/lib/modules/$(KVERS)/extra
 	

01_et131x-1.2.3-patch2.6.21.patch       -p0
02_et131x-1.2.3-2.6.21.kmem.patch       -p0
03_fix-makefile.patch                   -p0
04_fix_k-option-build.patch             -p1


Reply via email to