fixes ltq-vmmc for none falcon targets
[openwrt.git] / package / ubsec_ssb / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=ubsec-ssb
12 PKG_VERSION:=2009-02-21
13 PKG_RELEASE:=1
14
15 CRYPTO_MENU:=OCF Configuration
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define KernelPackage/ocf-ubsec-ssb
20 SUBMENU:=$(CRYPTO_MENU)
21 DEPENDS:=@TARGET_brcm47xx +kmod-crypto-core +kmod-crypto-ocf
22 TITLE:=BCM5365P IPSec Core driver
23 FILES:=$(PKG_BUILD_DIR)/src/ubsec_ssb.ko
24 AUTOLOAD:=$(call AutoLoad,09,ubsec_ssb)
25 endef
26
27 define KernelPackage/ocf-ubsec-ssb/description
28 This package contains the OCF driver for the BCM5365p IPSec Core
29 endef
30
31 define Build/Prepare
32 mkdir -p $(PKG_BUILD_DIR)
33 $(CP) -r ./src $(PKG_BUILD_DIR)/
34 endef
35
36 LINUX_PATCHLEVEL:=$(shell echo "$(LINUX_VERSION)" | cut -d. -f2)
37
38 define Build/Compile
39 $(MAKE) -C $(LINUX_DIR) \
40 ARCH="$(LINUX_KARCH)" \
41 CROSS_COMPILE="$(TARGET_CROSS)" \
42 PATCHLEVEL="$(LINUX_PATCHLEVEL)" \
43 KERNDIR="$(LINUX_DIR)" \
44 SUBDIRS="$(PKG_BUILD_DIR)/src" \
45 modules
46 endef
47
48 $(eval $(call KernelPackage,ocf-ubsec-ssb))
This page took 0.051941 seconds and 5 git commands to generate.