aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-bsp/kexecboot/files/0001-Add-top_srcdir-to-compiler-include-paths.patch
blob: 0565133d95e442485bb1b04bea2130e0e01699d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From d302547305727797e0172ba89e7519252c400021 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 11 Aug 2018 14:37:22 -0700
Subject: [PATCH 1/2] Add top_srcdir to compiler include paths

Helps in compiling with out of tree build dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index d04a3a8..6449c5a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,7 @@
 bin_PROGRAMS=kexecboot
 
+kexecboot_CFLAGS = -I$(top_srcdir)
+
 kexecboot_SOURCES = \
 	util.c \
 	cfgparser.c \
-- 
2.18.0