Author: glen                         Date: Thu May  4 00:04:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new build copied from template-kernel-module.spec
- 2.6.16.11-1 builds with current snap

---- Files affected:
SPECS:
   unionfs.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/unionfs.spec
diff -u SPECS/unionfs.spec:1.17 SPECS/unionfs.spec:1.18
--- SPECS/unionfs.spec:1.17     Wed Apr 12 14:15:40 2006
+++ SPECS/unionfs.spec  Thu May  4 02:04:52 2006
@@ -101,15 +101,26 @@
        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
+%if %{with dist_kernel}
        %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+%else
+       install -d o/include/config
+       touch o/include/config/MARKER
+       ln -sf %{_kernelsrcdir}/scripts o/scripts
+%endif
 
        %{__make} -C %{_kernelsrcdir} clean \
                RCS_FIND_IGNORE="-name '*.ko' -o" \
+               SYSSRC=%{_kernelsrcdir} \
+               SYSOUT=$PWD/o \
                M=$PWD O=$PWD/o \
                %{?with_verbose:V=1}
-       %{__make} -C %{_kernelsrcdir} \
-               M=$PWD O=$PWD/o \
+       %{__make} -C %{_kernelsrcdir} modules \
+               CC="%{__cc}" CPP="%{__cpp}" \
                EXTRACFLAGS="-DUNIONFS_NDEBUG -DUNIONFS_XATTR" \
+               SYSSRC=%{_kernelsrcdir} \
+               SYSOUT=$PWD/o \
+               M=$PWD O=$PWD/o \
                %{?with_verbose:V=1}
        mv unionfs{,-$cfg}.ko
 done
@@ -181,6 +192,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/05/04 00:04:52  glen
+- new build copied from template-kernel-module.spec
+- 2.6.16.11-1 builds with current snap
+
 Revision 1.17  2006/04/12 12:15:40  glen
 - add kernel epoch, adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/unionfs.spec?r1=1.17&r2=1.18&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to