patch-pre2.0.14-final2.0 linux/drivers/sound/Makefile

Next file: linux/fs/ext2/super.c
Previous file: linux/drivers/scsi/scsi_ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.14/linux/drivers/sound/Makefile linux/drivers/sound/Makefile
@@ -108,9 +108,7 @@
 #	@echo \#define SOUND_CONFIG_DOMAIN \"`hostname -d`\" >> local.h 2>/dev/null
 	@echo \#define SOUND_UNAME_A \"`uname -a`\" >> local.h
 
-kernelconfig: setup-$(TARGET_OS)
-	rm -f configure
-	$(HOSTCC) -o configure configure.c
+kernelconfig: setup-$(TARGET_OS) configure
 	./configure fixedlocal > local.h
 	./configure fixeddefines > .defines
 	@echo \#define SOUND_CONFIG_DATE \"`date`\" >> local.h
@@ -119,9 +117,7 @@
 #	@echo \#define SOUND_CONFIG_DOMAIN \"`hostname -d`\" >> local.h 2>/dev/null
 	@echo \#define SOUND_UNAME_A \"`uname -a`\" >> local.h
 
-mkscript: setup-$(TARGET_OS)
-	rm -f configure
-	$(HOSTCC) -o configure configure.c
+mkscript: setup-$(TARGET_OS) configure
 	./configure script > Config.in
 	./configure fixedlocal > local.h
 	./configure fixeddefines > .defines

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this