mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
cryptodev: update to 1.4.
This commit is contained in:
@@ -26,10 +26,10 @@ include Config
|
||||
|
||||
VERSUFIX=ipfire$(KCFG)
|
||||
|
||||
VER = 20091126
|
||||
VER = 1.4
|
||||
|
||||
THISAPP = cryptodev-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
THISAPP = cryptodev-linux-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX)
|
||||
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 26ffa32ef75bea7e980ab66166616e95
|
||||
$(DL_FILE)_MD5 = 7b0ac1c0a88d8fbe7316db02f21666e6
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -74,13 +74,13 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make build \
|
||||
KERNEL_DIR=/lib/modules/$(KVER)-$(VERSUFIX)/build
|
||||
|
||||
-mkdir -pv /usr/include/crypto
|
||||
cd $(DIR_APP) && make install \
|
||||
KERNEL_DIR=/lib/modules/$(KVER)-$(VERSUFIX)/build
|
||||
ln -svf ../crypto/cryptodev.h /usr/include/linux/cryptodev.h
|
||||
# ln -svf ../crypto/cryptodev.h /usr/include/linux/cryptodev.h
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user