mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00
crconf: add recipes
include the following changes: 7b5819e - Restructure copy_name() to follow best practice 8bd9964 - Set algorithm mask only when type is provided 81bd24f - Don't overwrite compiler env. if alredy set 0248373 - Update dependencies - Linux kernel and iproute2 headers 547b464 - Fix potential segfault when omitting type argument 274eaba - Honor max length of alg/driver name in strncpy 9d0ae95 - Improve usage information 6ab1c3c - crconf: Fix error output on crconf_del_alg. d8a0a6f - crconf: Add a basic manpage 27a173f - crconf: Update headers to the Linux mainline 873058f - crconf - Linux crypto layer configuraton tool Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
This commit is contained in:
parent
cf73ff164d
commit
ce845fff08
|
@ -0,0 +1,30 @@
|
|||
From 2c260c8c437c7f72f093b6c157a38b93443bde1d Mon Sep 17 00:00:00 2001
|
||||
From: Chunrong Guo <chunrong.guo@nxp.com>
|
||||
Date: Mon, 11 Dec 2017 15:45:05 +0800
|
||||
Subject: [PATCH] Modify the Makefile for cross compile
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c7bfee2..d6421f3 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,8 +4,8 @@ LIBDIR=/usr/lib
|
||||
SBINDIR=/sbin
|
||||
MANDIR=/share/man
|
||||
|
||||
-CC = gcc
|
||||
-HOSTCC = gcc
|
||||
+CC ?= gcc
|
||||
+HOSTCC ?= gcc
|
||||
CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
|
||||
CFLAGS = $(CCOPTS) -I../include
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
18
recipes-extended/crconf/crconf_git.bb
Normal file
18
recipes-extended/crconf/crconf_git.bb
Normal file
|
@ -0,0 +1,18 @@
|
|||
SUMMARY = "crconf -Linux crypto layer configuraton tool"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111"
|
||||
|
||||
SRC_URI = "git://github.com/Thermi/crconf.git;protocol=https;nobranch=1"
|
||||
|
||||
EXTRA_OEMAKE = "'CC=${CC}' 'HOSTCC=${CC}'"
|
||||
|
||||
SRCREV = "7b5819e7638e471d41dd2dca71f012d5a022f014"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
}
|
||||
|
||||
FILES_${PN} += "/share/man/* ${libdir}/* ${sbindir}/*"
|
Loading…
Reference in New Issue
Block a user