diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:41:56 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:41:56 +0100 |
commit | 177ef53047019757b70b5ca87171b2c88e26ba07 (patch) | |
tree | 70e3284e64755ae93c130e00f810ba5c501801b9 /recipes-kernel/cryptodev/files/makefile_fixup.patch | |
download | meta-fsl-ppc-enea_linux_3.tar.gz |
initial commit of Enea Linux 3.1enea_linux_3
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/cryptodev/files/makefile_fixup.patch')
-rw-r--r-- | recipes-kernel/cryptodev/files/makefile_fixup.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/files/makefile_fixup.patch b/recipes-kernel/cryptodev/files/makefile_fixup.patch new file mode 100644 index 0000000..323aacd --- /dev/null +++ b/recipes-kernel/cryptodev/files/makefile_fixup.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | diff --git a/Makefile b/Makefile | ||
2 | index 2be8825..b36d68c 100644 | ||
3 | --- a/Makefile | ||
4 | +++ b/Makefile | ||
5 | @@ -1,6 +1,7 @@ | ||
6 | KBUILD_CFLAGS += -I$(src) | ||
7 | KERNEL_DIR = /lib/modules/$(shell uname -r)/build | ||
8 | VERSION = 1.5 | ||
9 | +PREFIX = | ||
10 | |||
11 | cryptodev-objs = ioctl.o main.o cryptlib.o authenc.o zc.o util.o | ||
12 | |||
13 | @@ -12,10 +13,10 @@ build: version.h | ||
14 | version.h: Makefile | ||
15 | @echo "#define VERSION \"$(VERSION)\"" > version.h | ||
16 | |||
17 | -install: | ||
18 | +modules_install: | ||
19 | make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install | ||
20 | - @echo "Installing cryptodev.h in /usr/include/crypto ..." | ||
21 | - @install -D crypto/cryptodev.h /usr/include/crypto/cryptodev.h | ||
22 | + @echo "Installing cryptodev.h in $(PREFIX)/usr/include/crypto ..." | ||
23 | + @install -D crypto/cryptodev.h $(PREFIX)/usr/include/crypto/cryptodev.h | ||
24 | |||
25 | clean: | ||
26 | make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean | ||