SPECS: kernel-video-spca5xx.spec - added powerpc/ppc hack

sparky sparky at pld-linux.org
Thu Dec 8 03:19:19 CET 2005


Author: sparky                       Date: Thu Dec  8 02:19:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added powerpc/ppc hack

---- Files affected:
SPECS:
   kernel-video-spca5xx.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/kernel-video-spca5xx.spec
diff -u SPECS/kernel-video-spca5xx.spec:1.6 SPECS/kernel-video-spca5xx.spec:1.7
--- SPECS/kernel-video-spca5xx.spec:1.6	Thu Dec  8 02:44:41 2005
+++ SPECS/kernel-video-spca5xx.spec	Thu Dec  8 03:19:14 2005
@@ -99,7 +99,17 @@
 	install -d include/{linux,config}
 	ln -sf %{_kernelsrcdir}/config-$cfg .config
 	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
+%ifarch ppc
+	if [ -d "%{_kernelsrcdir}/include/asm-powerpc" ]; then
+		install -d include/asm
+		cp -a %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
+		cp -a %{_kernelsrcdir}/include/asm-powerpc/* include/asm
+	else
+		ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+	fi
+%else
 	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%endif
 	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
 	touch include/config/MARKER
 #
@@ -168,6 +178,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/12/08 02:19:14  sparky
+- added powerpc/ppc hack
+
 Revision 1.6  2005/12/08 01:44:41  wolvverine
 - up to snap 20051001
 - NFY
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-video-spca5xx.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list