Update of /cvsroot/leaf/src/bering-uclibc/contrib/r1000
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2718

Added Files:
        buildtool.mk 
Log Message:
First import of the r1000 driver


--- NEW FILE: buildtool.mk ---
include $(MASTERMAKEFILE)

R1000_DIR:=r1000_v1.05
R1000_SOURCE:=r1000_v1.05.tgz
STRIP_OPTIONS=--strip-debug

.source:
        zcat $(R1000_SOURCE) | tar -xvf -       
        touch .source

source: .source

.build: .source
        mkdir -p $(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/net
        (cd $(R1000_DIR)/src ; \
        $(MAKE) -f Makefile_linux24x CC=$(TARGET_CC) 
EXTRA_CFLAGS="$(BT_COPT_FLAGS)" KSRC=$(BT_LINUX_DIR) PATCHLEVEL=4)
        cp $(R1000_DIR)/src/r1000.o 
$(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/net/
        $(BT_STRIP) $(STRIP_OPTIONS) 
$(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/net/r1000.o
        $(BT_DEPMOD) -ae -b $(BT_STAGING_DIR) -r -F 
$(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/build/System.map 
$(BT_KERNEL_RELEASE)
        touch .build

build: .build

clean:
        rm -f $(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/net/r1000.o
        -rmdir $(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/net
        $(BT_DEPMOD) -ae -b $(BT_STAGING_DIR) -r -F 
$(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/build/System.map 
$(BT_KERNEL_RELEASE)
        -$(MAKE) -f Makefile_linux24x -C $(R1000_DIR) clean 
        rm -f .build

srcclean: clean
        rm -rf $(R1000_DIR)
        rm -f .source


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to