mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add netxen-nix fix https://github.com/Ysurac/openmptcprouter/issues/3065
This commit is contained in:
parent
6dbc29ae7b
commit
8c8ae48f70
1 changed files with 39 additions and 0 deletions
39
netxen-nic/Makefile
Normal file
39
netxen-nic/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME := netxen-nic
|
||||
PKG_RELEASE := 1
|
||||
|
||||
PKG_SOURCE := $(LINUX_SOURCE)
|
||||
PKG_SOURCE_URL := $(LINUX_SITE)
|
||||
PKG_HASH := $(LINUX_KERNEL_HASH)
|
||||
|
||||
PKG_LICENSE := GPL-2.0
|
||||
|
||||
PKG_FLAGS := nonshared
|
||||
PKG_BUILD_PARALLEL := 1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TAR_CMD=$(HOST_TAR) -C $(1) --strip-components=1 $(TAR_OPTIONS)
|
||||
|
||||
define Build/Compile
|
||||
$(KERNEL_MAKE) \
|
||||
$(PKG_JOBS) \
|
||||
CONFIG_NETXEN_NIC=m \
|
||||
M=$(PKG_BUILD_DIR)/drivers/net/ethernet/qlogic/netxen \
|
||||
modules
|
||||
endef
|
||||
|
||||
KernelPackage/hooks := :
|
||||
|
||||
define KernelPackage/netxen-nic
|
||||
TITLE := NetXen Multi port (1/10) Gigabit Ethernet NIC
|
||||
KCONFIG := CONFIG_NETXEN_NIC=m
|
||||
FILES := $(PKG_BUILD_DIR)/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
|
||||
AUTOLOAD := $(call AutoProbe,netxen_nic)
|
||||
DEPENDS := @PCI_SUPPORT
|
||||
endef
|
||||
$(eval $(call KernelPackage,netxen-nic))
|
Loading…
Add table
Add a link
Reference in a new issue