added my Recipes
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 400b8f235377f677a7a760f1e3a1cd26d95140bc Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 16 Jun 2017 22:58:18 -0700
|
||||
Subject: [PATCH] Add printf format and silence format-security warnings
|
||||
|
||||
Fix
|
||||
|
||||
vconfig.c:66:4: error: format not a string literal and no format arguments [-Werror=format-security]
|
||||
fprintf(stdout,usage);
|
||||
^~~~~~~
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
vconfig.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/vconfig.c b/vconfig.c
|
||||
index 5057cfd..83137ba 100644
|
||||
--- a/vconfig.c
|
||||
+++ b/vconfig.c
|
||||
@@ -63,7 +63,7 @@ static char* usage =
|
||||
" is OFF.\n";
|
||||
|
||||
void show_usage() {
|
||||
- fprintf(stdout,usage);
|
||||
+ fprintf(stdout, "%s", usage);
|
||||
}
|
||||
|
||||
int hex_to_bytes(char* bytes, int bytes_length, char* hex_str) {
|
||||
--
|
||||
2.13.1
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
|
||||
Subject: vlan: do not include ${HOME}/linux/include dir
|
||||
|
||||
~/linux/include dir may exist and so will be added to include path
|
||||
in front of sanitized kernel headers in OE chroot. Drop this include
|
||||
option.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Index: vlan/MakeInclude
|
||||
===================================================================
|
||||
--- vlan.orig/MakeInclude
|
||||
+++ vlan/MakeInclude
|
||||
@@ -16,7 +16,7 @@ ifeq "${PLATFORM}" ""
|
||||
endif
|
||||
|
||||
## You may need to change this linux/include part.
|
||||
-CCFLAGS = -g -D_GNU_SOURCE -Wall -I${HOME}/linux/include
|
||||
+CCFLAGS = -g -D_GNU_SOURCE -Wall
|
||||
LDLIBS = # -lm #-lnsl # -lsocket
|
||||
|
||||
ARM_TC_BIN = ${HOME}/Intrinsyc/bin
|
||||
Reference in New Issue
Block a user