SPECS: linux-fusion.spec - updated to 3.0 - updated kernel module ...

qboosh qboosh at pld-linux.org
Sat May 20 14:04:31 CEST 2006


Author: qboosh                       Date: Sat May 20 12:04:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 3.0
- updated kernel module build style

---- Files affected:
SPECS:
   linux-fusion.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/linux-fusion.spec
diff -u SPECS/linux-fusion.spec:1.2 SPECS/linux-fusion.spec:1.3
--- SPECS/linux-fusion.spec:1.2	Wed Apr 12 14:15:40 2006
+++ SPECS/linux-fusion.spec	Sat May 20 14:04:26 2006
@@ -6,24 +6,24 @@
 %bcond_without	smp		# don't build SMP module
 %bcond_without	userspace	# don't build userspace programs
 %bcond_with	verbose		# verbose build (V=1)
-
+#
 %if %{without kernel}
 %undefine	with_dist_kernel
 %endif
 
-%define		_rel	0.1
+%define		_rel	1
 Summary:	Fusion Linux kernel module
 Summary(pl):	Moduł Fusion dla jądra Linuksa
 Name:		linux-fusion
-Version:	1.1
+Version:	3.0
 Release:	%{_rel}
 License:	GPL v2+
 Group:		Base/Kernel
 Source0:	http://www.directfb.org/download/DirectFB/%{name}-%{version}.tar.gz
-# Source0-md5:	227b62ee7374e4651355299147719c82
+# Source0-md5:	8f666bab9a9c18f0c9e966e95dbe887d
 URL:		http://www.directfb.org/
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.7}
+%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.14}
 BuildRequires:	rpmbuild(macros) >= 1.217
 %endif
 BuildRequires:	sed >= 4.0
@@ -95,20 +95,22 @@
 	if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
 		exit 1
 	fi
-	rm -rf include
-	install -d include/{linux,config}
-	ln -sf %{_kernelsrcdir}/config-$cfg .config
-	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
-	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
-	touch include/config/MARKER
+	install -d o/include/linux
+	ln -sf %{_kernelsrcdir}/config-$cfg o/.config
+	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
+	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+	%{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
 	%{__make} -C %{_kernelsrcdir} clean \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
-		M=$PWD O=$PWD \
+		SYSSRC=%{_kernelsrcdir} \
+		SYSOUT=$PWD/o \
+		M=$PWD O=$PWD/o \
 		%{?with_verbose:V=1}
 	%{__make} -C %{_kernelsrcdir} modules \
 		CC="%{__cc}" CPP="%{__cpp}" \
-		M=$PWD O=$PWD \
+		SYSSRC=%{_kernelsrcdir} \
+		SYSOUT=$PWD/o \
+		M=$PWD O=$PWD/o \
 		%{?with_verbose:V=1}
 
 	mv fusion{,-$cfg}.ko
@@ -175,6 +177,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/05/20 12:04:26  qboosh
+- updated to 3.0
+- updated kernel module build style
+
 Revision 1.2  2006/04/12 12:15:40  glen
 - add kernel epoch, adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/linux-fusion.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list