68499e883748e2969f34e47c7a33a6dc65a75248
[openwrt/openwrt.git] / package / alsa / patches / 110-cp_command.patch
1 diff -ur alsa.old/Makefile alsa.dev/Makefile
2 --- alsa.old/Makefile 2006-10-14 07:07:48.000000000 -0700
3 +++ alsa.dev/Makefile 2006-10-14 07:08:45.000000000 -0700
4 @@ -100,6 +100,7 @@
5 SUBDIRS += parisc
6 endif
7 CSUBDIRS += include test utils
8 +CP = cp -fPR
9
10 KCONFIG_FILES = $(shell find $(SND_TOPDIR) -name Kconfig) $(shell find $(SND_TOPDIR)/alsa-kernel/ -name Kconfig)
11
12 @@ -115,7 +116,7 @@
13 if [ ! -d include/sound -a ! -L include/sound ]; then \
14 ln -sf ../alsa-kernel/include include/sound ; \
15 fi
16 - cp -auvf include/version.h include/sound/version.h
17 + $(CP) include/version.h include/sound/version.h
18
19 utils/mod-deps: utils/mod-deps.c
20 gcc utils/mod-deps.c -o utils/mod-deps