Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1:/tmp/cvs-serv14081

Modified Files:
        Rules.make 
Log Message:
More cleanups for alsa-kernel/ tree (.patch->.c rule)

Index: Rules.make
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/Rules.make,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Rules.make  30 May 2003 12:27:02 -0000      1.26
+++ Rules.make  30 May 2003 12:53:11 -0000      1.27
@@ -92,7 +92,15 @@
 endif
 
 %.c: %.patch
-       patch -p0 $@ < $<
+       @xtmp="$(MODCURDIR)"; \
+       if [ "$${xtmp:0:7}" = "acore" ]; then \
+               echo "coping file alsa-kernel/core/$${xtmp:6}$@"; \
+               cp $(TOPDIR)/alsa-kernel/core/$${xtmp:6}$@ $@; \
+       else \
+               echo "Coping file alsa-kernel/core/$$(xtmp)/$@;"; \
+               cp $(TOPDIR)/alsa-kernel/$$(xtmp)/$@ $@; \
+       fi
+       @patch -p0 -i $<
 
 %.isapnp: %.c
        $(CPP) -C -D__KERNEL__ $(CFLAGS) $(EXTRA_CFLAGS) -D__isapnp_now__ 
-DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) $(CFLAGS_$@) $< 
| $(TOPDIR)/utils/convert_isapnp_ids > $@



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to