|
From: <abe...@us...> - 2013-05-17 23:01:52
|
Revision: 6089
http://sourceforge.net/p/astlinux/code/6089
Author: abelbeck
Date: 2013-05-17 23:01:48 +0000 (Fri, 17 May 2013)
Log Message:
-----------
tg3, new package, build NIC kernel driver from source, version 3.124c
Modified Paths:
--------------
branches/1.0/astlinux-ast11.config
branches/1.0/astlinux.config
branches/1.0/astlinux18.config
branches/1.0/package/Config.in
branches/1.0/runnix-uclibc.config
branches/1.0/runnix.config
Added Paths:
-----------
branches/1.0/package/tg3/
branches/1.0/package/tg3/Config.in
branches/1.0/package/tg3/tg3.mk
Modified: branches/1.0/astlinux-ast11.config
===================================================================
--- branches/1.0/astlinux-ast11.config 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/astlinux-ast11.config 2013-05-17 23:01:48 UTC (rev 6089)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn6070-dirty Configuration
-# Wed May 1 18:58:21 2013
+# Buildroot 2011.08-svn6088-dirty Configuration
+# Fri May 17 17:48:59 2013
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -403,6 +403,7 @@
# BR2_PACKAGE_SSHFS is not set
BR2_PACKAGE_STATSERIAL=y
# BR2_PACKAGE_SYSSTAT is not set
+BR2_PACKAGE_TG3=y
# BR2_PACKAGE_TI_UTILS is not set
# BR2_PACKAGE_UBOOT_TOOLS is not set
BR2_PACKAGE_UDEV=y
Modified: branches/1.0/astlinux.config
===================================================================
--- branches/1.0/astlinux.config 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/astlinux.config 2013-05-17 23:01:48 UTC (rev 6089)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn6070-dirty Configuration
-# Wed May 1 18:58:17 2013
+# Buildroot 2011.08-svn6088-dirty Configuration
+# Fri May 17 17:48:58 2013
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -409,6 +409,7 @@
# BR2_PACKAGE_SSHFS is not set
BR2_PACKAGE_STATSERIAL=y
# BR2_PACKAGE_SYSSTAT is not set
+BR2_PACKAGE_TG3=y
# BR2_PACKAGE_TI_UTILS is not set
# BR2_PACKAGE_UBOOT_TOOLS is not set
BR2_PACKAGE_UDEV=y
Modified: branches/1.0/astlinux18.config
===================================================================
--- branches/1.0/astlinux18.config 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/astlinux18.config 2013-05-17 23:01:48 UTC (rev 6089)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn6070-dirty Configuration
-# Wed May 1 18:58:19 2013
+# Buildroot 2011.08-svn6088-dirty Configuration
+# Fri May 17 17:48:58 2013
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -403,6 +403,7 @@
# BR2_PACKAGE_SSHFS is not set
BR2_PACKAGE_STATSERIAL=y
# BR2_PACKAGE_SYSSTAT is not set
+BR2_PACKAGE_TG3=y
# BR2_PACKAGE_TI_UTILS is not set
# BR2_PACKAGE_UBOOT_TOOLS is not set
BR2_PACKAGE_UDEV=y
Modified: branches/1.0/package/Config.in
===================================================================
--- branches/1.0/package/Config.in 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/package/Config.in 2013-05-17 23:01:48 UTC (rev 6089)
@@ -230,6 +230,7 @@
source "package/sshfs/Config.in"
source "package/statserial/Config.in"
source "package/sysstat/Config.in"
+source "package/tg3/Config.in"
source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
Added: branches/1.0/package/tg3/Config.in
===================================================================
--- branches/1.0/package/tg3/Config.in (rev 0)
+++ branches/1.0/package/tg3/Config.in 2013-05-17 23:01:48 UTC (rev 6089)
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_TG3
+ bool "tg3"
+ depends on BR2_LINUX_KERNEL
+ default n
+ help
+ Linux NIC device driver tg3 released for Broadcom's NetLink Ethernet
+ controllers: 5784, 5785, 57780, 57781, 57785, 57790, 57795
+
+ 10/100/1000 Mbps PCI/PCI-X/PCI Express Ethernet Network Controllers
+
+ http://www.broadcom.com/support/ethernet_nic/netlink_k57.php
+
Added: branches/1.0/package/tg3/tg3.mk
===================================================================
--- branches/1.0/package/tg3/tg3.mk (rev 0)
+++ branches/1.0/package/tg3/tg3.mk 2013-05-17 23:01:48 UTC (rev 6089)
@@ -0,0 +1,38 @@
+#############################################################
+#
+# tg3
+#
+#############################################################
+
+TG3_VERSION = 3.124c
+TG3_SOURCE:=tg3-$(TG3_VERSION).tar.gz
+TG3_SITE = http://files.astlinux.org
+TG3_DEPENDENCIES = linux
+
+TG3_UNINSTALL_STAGING_OPT = --version
+
+TG3_MAKE_OPT += \
+ CC=$(TARGET_CC) \
+ LD=$(TARGET_LD) \
+ KVER=$(LINUX_VERSION_PROBED) \
+ BCMPROC=$(KERNEL_ARCH) \
+ BCMCFGDIR=$(LINUX_DIR) \
+ BCMMODDIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/kernel/drivers/net \
+ BCMSRCDIR=$(LINUX_DIR) \
+ ARCH=$(KERNEL_ARCH)
+
+define TG3_CONFIGURE_CMDS
+ @echo "No configure"
+endef
+
+define TG3_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/tg3.ko $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/kernel/drivers/net/tg3.ko
+ $(HOST_DIR)/usr/sbin/depmod -ae -F $(LINUX_DIR)/System.map -b $(TARGET_DIR) -r $(LINUX_VERSION_PROBED)
+endef
+
+define TG3_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/kernel/drivers/net/tg3.ko
+ $(HOST_DIR)/usr/sbin/depmod -ae -F $(LINUX_DIR)/System.map -b $(TARGET_DIR) -r $(LINUX_VERSION_PROBED)
+endef
+
+$(eval $(call AUTOTARGETS,package,tg3))
Modified: branches/1.0/runnix-uclibc.config
===================================================================
--- branches/1.0/runnix-uclibc.config 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/runnix-uclibc.config 2013-05-17 23:01:48 UTC (rev 6089)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn6070-dirty Configuration
-# Wed May 1 18:58:37 2013
+# Buildroot 2011.08-svn6088-dirty Configuration
+# Fri May 17 17:49:00 2013
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -562,6 +562,7 @@
#
# BR2_PACKAGE_STATSERIAL is not set
# BR2_PACKAGE_SYSSTAT is not set
+# BR2_PACKAGE_TG3 is not set
# BR2_PACKAGE_TI_UTILS is not set
# BR2_PACKAGE_UBOOT_TOOLS is not set
Modified: branches/1.0/runnix.config
===================================================================
--- branches/1.0/runnix.config 2013-05-16 21:55:35 UTC (rev 6088)
+++ branches/1.0/runnix.config 2013-05-17 23:01:48 UTC (rev 6089)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn6070-dirty Configuration
-# Wed May 1 18:58:33 2013
+# Buildroot 2011.08-svn6088-dirty Configuration
+# Fri May 17 17:48:59 2013
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -386,6 +386,7 @@
# BR2_PACKAGE_SSHFS is not set
# BR2_PACKAGE_STATSERIAL is not set
# BR2_PACKAGE_SYSSTAT is not set
+# BR2_PACKAGE_TG3 is not set
# BR2_PACKAGE_TI_UTILS is not set
# BR2_PACKAGE_UBOOT_TOOLS is not set
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|