meta-agl-profile-telematics: recipes-core: systemd: change canbus systemd match regex
[AGL/meta-agl.git] / meta-agl-bsp / meta-intel / recipes-kernel / lttng / lttng-modules / Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
4 <head>
5 <title>poky - Poky Build Tool and Metadata</title>
6 <meta name='generator' content='cgit v0.10.2'/>
7 <meta name='robots' content='index, nofollow'/>
8 <link rel='stylesheet' type='text/css' href='/cgit/cgit.css'/>
9 <link rel='shortcut icon' href='/favicon.ico'/>
10 <link rel='alternate' title='Atom feed' href='http://git.yoctoproject.org/cgit/cgit.cgi/poky/atom/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?h=master' type='application/atom+xml'/>
11 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
12 <script type="text/javascript">
13 $(document).ready(function() {
14 fragment = '';
15 if (window.location.href.lastIndexOf('?') > -1) {
16         fragment = window.location.href.substring(window.location.href.lastIndexOf('?'));
17 }
18 $('.logo').append('<a href="http://git.yoctoproject.org/clean/cgit.cgi/' + window.location.pathname.substring(window.location.pathname.lastIndexOf("cgit.cgi")+9) + fragment + '">light theme</a>');
19 });
20 </script>
21 </head>
22 <body>
23 <div id='cgit'><table id='header'>
24 <tr>
25 <td class='logo' rowspan='2'><a href='/cgit/cgit.cgi/'><img src='/cgit/yocto-project-transp.png' alt='cgit logo'/></a></td>
26 <td class='main'><a href='/cgit/cgit.cgi/'>index</a> : <a title='poky' href='/cgit/cgit.cgi/poky/'>poky</a></td><td class='form'><form method='get' action=''>
27 <input type='hidden' name='id' value='1a97243bf86468a9dfd44f60c9f7563aff54b284'/><select name='h' onchange='this.form.submit();'>
28 <option value='1.1_M1'>1.1_M1</option>
29 <option value='1.1_M2'>1.1_M2</option>
30 <option value='1.1_M3'>1.1_M3</option>
31 <option value='1.1_M4'>1.1_M4</option>
32 <option value='1.2_M1'>1.2_M1</option>
33 <option value='1.2_M2'>1.2_M2</option>
34 <option value='1.2_M3'>1.2_M3</option>
35 <option value='1.2_M4'>1.2_M4</option>
36 <option value='1.3_M1'>1.3_M1</option>
37 <option value='1.3_M2'>1.3_M2</option>
38 <option value='1.3_M3'>1.3_M3</option>
39 <option value='1.3_M4'>1.3_M4</option>
40 <option value='1.3_M5'>1.3_M5</option>
41 <option value='1.3_beta'>1.3_beta</option>
42 <option value='1.4_M1'>1.4_M1</option>
43 <option value='1.4_M3'>1.4_M3</option>
44 <option value='1.4_M4'>1.4_M4</option>
45 <option value='1.4_M5'>1.4_M5</option>
46 <option value='1.6_M5'>1.6_M5</option>
47 <option value='bernard'>bernard</option>
48 <option value='blinky'>blinky</option>
49 <option value='clyde'>clyde</option>
50 <option value='daisy'>daisy</option>
51 <option value='danny'>danny</option>
52 <option value='danny-next'>danny-next</option>
53 <option value='denzil'>denzil</option>
54 <option value='dizzy'>dizzy</option>
55 <option value='dora'>dora</option>
56 <option value='dora-toaster'>dora-toaster</option>
57 <option value='dylan'>dylan</option>
58 <option value='edison'>edison</option>
59 <option value='elroy'>elroy</option>
60 <option value='fido'>fido</option>
61 <option value='green'>green</option>
62 <option value='jethro'>jethro</option>
63 <option value='krogoth'>krogoth</option>
64 <option value='krogoth-next'>krogoth-next</option>
65 <option value='laverne'>laverne</option>
66 <option value='master' selected='selected'>master</option>
67 <option value='master-next'>master-next</option>
68 <option value='master-next2'>master-next2</option>
69 <option value='morty'>morty</option>
70 <option value='morty-next'>morty-next</option>
71 <option value='pinky'>pinky</option>
72 <option value='purple'>purple</option>
73 <option value='pyro'>pyro</option>
74 <option value='pyro-next'>pyro-next</option>
75 <option value='rocko'>rocko</option>
76 <option value='rocko-next'>rocko-next</option>
77 </select> <input type='submit' name='' value='switch'/></form></td></tr>
78 <tr><td class='sub'>Poky Build Tool and Metadata</td><td class='sub right'>git repository hosting</td></tr></table>
79 <table class='tabs'><tr><td>
80 <a href='/cgit/cgit.cgi/poky/'>summary</a><a href='/cgit/cgit.cgi/poky/refs/?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>refs</a><a href='/cgit/cgit.cgi/poky/log/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch'>log</a><a class='active' href='/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>tree</a><a href='/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>commit</a><a href='/cgit/cgit.cgi/poky/diff/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>diff</a><a href='/cgit/cgit.cgi/poky/stats/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/cgit.cgi/poky/log/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch'>
81 <input type='hidden' name='id' value='1a97243bf86468a9dfd44f60c9f7563aff54b284'/><select name='qt'>
82 <option value='grep'>log msg</option>
83 <option value='author'>author</option>
84 <option value='committer'>committer</option>
85 <option value='range'>range</option>
86 </select>
87 <input class='txt' type='text' size='10' name='q' value=''/>
88 <input type='submit' value='search'/>
89 </form>
90 </td></tr></table>
91 <div class='path'>path: <a href='/cgit/cgit.cgi/poky/tree/?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>root</a>/<a href='/cgit/cgit.cgi/poky/tree/meta?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>meta</a>/<a href='/cgit/cgit.cgi/poky/tree/meta/recipes-kernel?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>recipes-kernel</a>/<a href='/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/lttng?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>lttng</a>/<a href='/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/lttng/lttng-modules?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>lttng-modules</a>/<a href='/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch</a></div><div class='content'>blob: e41124227201a9d7bb53cd6a7a5ef6aa733328e2 (<a href='/cgit/cgit.cgi/poky/plain/meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch?id=1a97243bf86468a9dfd44f60c9f7563aff54b284'>plain</a>)
92 <table summary='blob content' class='blob'>
93 <tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
94 <a id='n2' href='#n2'>2</a>
95 <a id='n3' href='#n3'>3</a>
96 <a id='n4' href='#n4'>4</a>
97 <a id='n5' href='#n5'>5</a>
98 <a id='n6' href='#n6'>6</a>
99 <a id='n7' href='#n7'>7</a>
100 <a id='n8' href='#n8'>8</a>
101 <a id='n9' href='#n9'>9</a>
102 <a id='n10' href='#n10'>10</a>
103 <a id='n11' href='#n11'>11</a>
104 <a id='n12' href='#n12'>12</a>
105 <a id='n13' href='#n13'>13</a>
106 <a id='n14' href='#n14'>14</a>
107 <a id='n15' href='#n15'>15</a>
108 <a id='n16' href='#n16'>16</a>
109 <a id='n17' href='#n17'>17</a>
110 <a id='n18' href='#n18'>18</a>
111 <a id='n19' href='#n19'>19</a>
112 <a id='n20' href='#n20'>20</a>
113 <a id='n21' href='#n21'>21</a>
114 <a id='n22' href='#n22'>22</a>
115 <a id='n23' href='#n23'>23</a>
116 <a id='n24' href='#n24'>24</a>
117 <a id='n25' href='#n25'>25</a>
118 <a id='n26' href='#n26'>26</a>
119 <a id='n27' href='#n27'>27</a>
120 <a id='n28' href='#n28'>28</a>
121 <a id='n29' href='#n29'>29</a>
122 <a id='n30' href='#n30'>30</a>
123 <a id='n31' href='#n31'>31</a>
124 <a id='n32' href='#n32'>32</a>
125 <a id='n33' href='#n33'>33</a>
126 <a id='n34' href='#n34'>34</a>
127 <a id='n35' href='#n35'>35</a>
128 <a id='n36' href='#n36'>36</a>
129 <a id='n37' href='#n37'>37</a>
130 <a id='n38' href='#n38'>38</a>
131 <a id='n39' href='#n39'>39</a>
132 <a id='n40' href='#n40'>40</a>
133 <a id='n41' href='#n41'>41</a>
134 <a id='n42' href='#n42'>42</a>
135 <a id='n43' href='#n43'>43</a>
136 <a id='n44' href='#n44'>44</a>
137 <a id='n45' href='#n45'>45</a>
138 <a id='n46' href='#n46'>46</a>
139 <a id='n47' href='#n47'>47</a>
140 <a id='n48' href='#n48'>48</a>
141 <a id='n49' href='#n49'>49</a>
142 </pre></td>
143 <td class='lines'><pre><code>From 1b0e574d680101105a6c1e8931c78824f5a97a42 Mon Sep 17 00:00:00 2001
144 From: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
145 Date: Mon, 5 Sep 2016 17:08:56 +0000
146 Subject: [PATCH] Makefile: Do not fail if CONFIG_TRACEPOINTS is not enabled
147 Organization: O.S. Systems Software LTDA.
148
149 The lttng-modules are being pulled by the tools-profile image feature,
150 however, not every kernel has the CONFIG_TRACEPOINTS feature enabled.
151
152 This change makes the build do not fail when CONFIG_TRACEPOINTS is not
153 available, allowing it to be kept being pulled by default.
154
155 Upstream-Status: Inappropriate [embedded specific]
156
157 Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
158 ---
159  Makefile | 9 +++++----
160  1 file changed, 5 insertions(+), 4 deletions(-)
161
162 diff --git a/Makefile b/Makefile
163 index 8602649..75550cc 100644
164 --- a/Makefile
165 +++ b/Makefile
166 @@ -8,10 +8,7 @@ ifneq ($(KERNELRELEASE),)
167    # and defines the modules to be built.
168  
169    ifdef CONFIG_LOCALVERSION    # Check if dot-config is included.
170 -    ifeq ($(CONFIG_TRACEPOINTS),)
171 -      $(error The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration)
172 -    endif # CONFIG_TRACEPOINTS
173 -  endif # ifdef CONFIG_LOCALVERSION
174 +    ifneq ($(CONFIG_TRACEPOINTS),)
175  
176    TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))
177  
178 @@ -94,6 +91,10 @@ ifneq ($(KERNELRELEASE),)
179    obj-$(CONFIG_LTTNG) += lib/
180    obj-$(CONFIG_LTTNG) += tests/
181  
182 +    else
183 +      $(warning The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration)
184 +    endif # CONFIG_TRACEPOINTS
185 +  endif # ifdef CONFIG_LOCALVERSION
186  else # KERNELRELEASE
187  
188  # This part of the Makefile is used when the 'make' command is runned in the
189 -- 
190 2.1.4
191
192 </code></pre></td></tr></table>
193 </div> <!-- class=content -->
194 <div class='footer'>generated  by cgit v0.10.2 at 2018-02-19 12:16:57 (GMT)</div>
195 </div> <!-- id=cgit -->
196 </body>
197 </html>