cryptodev: fix build with normal and xen kernel.

This commit is contained in:
Arne Fitzenreiter
2012-08-04 15:57:34 +02:00
parent 52e9b6c7ea
commit 06df0c03b1
2 changed files with 6 additions and 3 deletions

View File

@@ -24,6 +24,10 @@
include Config
ifeq "$(KCFG)" "-xen"
KVER = 2.6.32.59
endif
VERSUFIX=ipfire$(KCFG)
VER = 1.4
@@ -81,6 +85,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-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
@rm -rf $(DIR_APP)
@$(POSTBUILD)