Commit 217f8de3 authored by Wen-chien Jesse Sung's avatar Wen-chien Jesse Sung Committed by Thadeu Lima de Souza Cascardo

UBUNTU: [Config] OpenNSL Kconfig/Makefile

BugLink: https://launchpad.net/bugs/1665783

Based on files developed by Lool <lool@sd-70125.dedibox.fr> and
Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarWen-chien Jesse Sung <jesse.sung@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Acked-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
parent ecd40afe
#
# OpenNSL configuration
#
menuconfig OPENNSL
bool "OpenNSL options"
depends on NET
if OPENNSL
config OPENNSL_KERNEL_BDE
default y
tristate "OpenNSL kernel BDE"
config OPENNSL_BCM_KNET
default y
depends on OPENNSL_KERNEL_BDE
tristate "OpenNSL KNET support"
config OPENNSL_USER_BDE
default y
depends on OPENNSL_KERNEL_BDE
tristate "OpenNSL user BDE"
endif
#
# Makefile for OpenNSL drivers
#
SDK=OpenNSL/sdk-6.4.10-gpl-modules
OP=ubuntu/opennsl/$(SDK)
ccflags-y += \
-I$(OP)/include \
-I$(OP)/systems/bde/linux/include \
-I$(OP)/systems/bde/shared/include \
-I$(OP)/systems/linux/kernel/modules/include
obj-$(CONFIG_OPENNSL_BCM_KNET) += linux-bcm-knet.o
linux-bcm-knet-objs := \
$(SDK)/systems/linux/kernel/modules/bcm-knet/bcm-knet.o \
$(SDK)/systems/linux/kernel/modules/shared/gmodule.o \
obj-$(CONFIG_OPENNSL_KERNEL_BDE) += linux-kernel-bde.o
linux-kernel-bde-objs := \
$(SDK)/systems/bde/linux/kernel/linux-kernel-bde.o \
$(SDK)/systems/bde/linux/kernel/linux_shbde.o \
$(SDK)/systems/bde/linux/shared/mpool.o \
$(SDK)/systems/bde/shared/shbde_iproc.o \
$(SDK)/systems/bde/shared/shbde_mdio.o \
$(SDK)/systems/bde/shared/shbde_pci.o \
$(SDK)/systems/linux/kernel/modules/shared/gmodule.o \
obj-$(CONFIG_OPENNSL_USER_BDE) += linux-user-bde.o
linux-user-bde-objs := \
$(SDK)/systems/bde/linux/user/kernel/linux-user-bde.o \
$(SDK)/systems/linux/kernel/modules/shared/ksal.o \
$(SDK)/systems/linux/kernel/modules/shared/gmodule.o \
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment