diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-03-13 23:25:22 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-06-30 21:44:14 +0200 |
commit | 34d78b901c25517d730c7678ac54b8c2190d322a (patch) | |
tree | 761739f73f49891aeeb2603cdcc0ce7e5e68a780 /recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch | |
parent | 0dcd3213ce45ffe7c461922d38f60246d882f058 (diff) |
tegrarcm: allow target and native build, work with rss
- adapt to the changes introduced with recipe specific sysroots
- tegrarcm can now also be built for a target
- tegrarcm can now also be built for nativesdk
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch')
-rw-r--r-- | recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch b/recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch new file mode 100644 index 0000000..99fa8e7 --- /dev/null +++ b/recipes-bsp/tegrarcm/tegrarcm/0001-makefile-specify-cryptopp-include-path-relative-to-s.patch @@ -0,0 +1,27 @@ +From 06b764d9d9503c3ec8c7635ec9a6128d7904cfe5 Mon Sep 17 00:00:00 2001 +From: Max Krummenacher <max.krummenacher@toradex.com> +Date: Mon, 6 Mar 2017 00:20:46 +0100 +Subject: [PATCH] makefile: specify cryptopp include path relative to sysroot + +That way, neither for native nor target compilation the hosts +cryptopp headers are picked up. + +Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> +--- + src/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 3dad0e6..5e9b110 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,5 +1,5 @@ + AM_CFLAGS = -Wall -std=c99 +-AM_CPPFLAGS = -isystem /usr/include/$(CRYPTOLIB) $(LIBUSB_CFLAGS) ++AM_CPPFLAGS = -I=$(prefix)/include/$(CRYPTOLIB) $(LIBUSB_CFLAGS) + + bin_PROGRAMS = tegrarcm + tegrarcm_SOURCES = \ +-- +2.6.6 + |