source: packages/utils/loop-aes/Makefile @ 27414

Last change on this file since 27414 was 27414, checked in by blogic, 5 years ago

Upgrade loop-aes to 3.6c

This patch upgrades loop-aes to latest version 3.6c. This fixes #9614,
however, I didn't test other platforms or other kernel version than 2.6.39.2.

Signed-off-by: Michael Heimpold <mhei@…>

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2007-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=loop-aes
12PKG_VERSION:=3.6c
13PKG_RELEASE:=1
14
15PKG_SOURCE:=loop-AES-v$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17PKG_MD5SUM:=a030eb9af42e167d11434e2475187f00
18
19PKG_BUILD_DIR:=$(BUILD_DIR)/loop-AES-v$(PKG_VERSION)
20PKG_BUILD_PARALLEL:=1
21
22include $(INCLUDE_DIR)/package.mk
23
24define KernelPackage/loop-aes
25  SUBMENU:=Cryptographic API modules
26  DEPENDS:=@!PACKAGE_kmod-loop
27  TITLE:=loopback module with built-in AES
28  FILES:=$(PKG_BUILD_DIR)/loop.$(LINUX_KMOD_SUFFIX)
29  AUTOLOAD:=$(call AutoLoad,30,loop)
30  URL:=http://loop-aes.sourceforge.net
31endef
32
33define KernelPackage/loop-aes/description
34  This package provides loadable Linux kernel module (loop.o or loop.ko on 2.6
35  kernels) that has AES cipher built-in. The AES cipher can be used to encrypt
36  local file systems and disk partitions.
37endef
38
39define Build/Compile
40        $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
41                ARCH="$(LINUX_KARCH)" \
42                CROSS_COMPILE="$(TARGET_CROSS)" \
43                CC="$(TARGET_CC)" \
44                CPP="$(TARGET_CC)" \
45                LD="$(TARGET_CROSS)ld" \
46                LINUX_SOURCE="$(LINUX_DIR)" \
47                KR="$(LINUX_DIR)" \
48                MODINST="n" \
49                all
50endef
51
52$(eval $(call KernelPackage,loop-aes))
Note: See TracBrowser for help on using the repository browser.