]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/unicorn
Zwischencommit fuer LFS.
[people/pmueller/ipfire-2.x.git] / lfs / unicorn
index 9c9ea8d9a98b6956f8cfaf11a9d0df4c7378abb2..f89e893c8bb0b3b9579a93e01f818d5956a9afbd 100644 (file)
@@ -22,7 +22,7 @@
 # ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
 #          - Modified Makefile for IPCop build                                #
 #                                                                             #
-# $Id: unicorn,v 1.13.2.8 2005/02/05 15:38:16 gespinasse Exp $
+# $Id: unicorn,v 1.13.2.9 2006/08/23 07:03:38 gespinasse Exp $
 #                                                                             #
 ###############################################################################
 
 
 include Config
 
-VER        = 0.9.0
+VER        = 0.9.3
 
 THISAPP    = bast-$(VER)
-DL_FILE    = $(THISAPP).tgz
-DL_FROM    = http://www.bewan.com/bewan/drivers
+DL_FILE    = A1012-A1006-A904-A888-A983-$(VER).tgz
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/unicorn
 ifeq "$(SMP)" ""
   TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -52,7 +52,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 8b4f880e79d9d23029cc8f85e2f6478a
+$(DL_FILE)_MD5 = ff9829f03168279a079d05aea780ee99
 
 install : $(TARGET)
 
@@ -82,20 +82,13 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       sed -i -e 's%^CC=gcc.*$$%CC=$(KGCC)%'           $(DIR_APP)/unicorn_pci/Makefile
-       sed -i -e 's%^CC=gcc.*$$%CC=$(KGCC)%'           $(DIR_APP)/unicorn_usb/Makefile
-       sed -i -e 's%^PATCHLEVEL.*$$%PATCHLEVEL=4%'     $(DIR_APP)/unicorn_pci/Makefile
-       sed -i -e 's%^PATCHLEVEL.*$$%PATCHLEVEL=4%'     $(DIR_APP)/unicorn_usb/Makefile
-       sed -i -e 's%^COPTIONS.*$$%CXX=$(KGCC) -x c++%' $(DIR_APP)/unicorn_pci/Makefile
 ifeq "$(SMP)" ""
-       sed -i -e 's%^KVERS.*$$%KVERS=$(KVER)%'         $(DIR_APP)/unicorn_usb/Makefile
-       sed -i -e 's%^KVERS.*$$%KVERS=$(KVER)%'         $(DIR_APP)/unicorn_pci/Makefile
+       cd $(DIR_APP) && make PATCHLEVEL=4 KVERS=$(KVER) modules
+       cd $(DIR_APP) && make KVERS=$(KVER) only_modules_install
 else
-       sed -i -e 's%^KVERS.*$$%KVERS=$(KVER)-smp%'     $(DIR_APP)/unicorn_usb/Makefile
-       sed -i -e 's%^KVERS.*$$%KVERS=$(KVER)-smp%'     $(DIR_APP)/unicorn_pci/Makefile
+       cd $(DIR_APP) && make PATCHLEVEL=4 KVERS=$(KVER)-smp modules
+       cd $(DIR_APP) && make KVERS=$(KVER)-smp only_modules_install
 endif
-       cd $(DIR_APP) && make modules
-       cd $(DIR_APP) && make only_modules_install
 ifeq "$(SMP)" ""
        find /lib/modules/$(KVER)/ -name '*.o' -a -type f | xargs gzip -f9
        cd $(DIR_APP)/tools && sed -i 's%^prefix=.*$$%prefix=/usr%' Makefile