summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-25 15:35:37 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2011-03-01 11:46:46 +0000
commit977dd89c83e8df6cf8d3c622dc42bc4f71b9d037 (patch)
tree7e5735f9c18919342361a00121bf775a111b5d7e
parent02d2e5e5c7097e0315bf89868ff60cad6f59904f (diff)
downloadopenembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.tar.gz
openembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.tar.bz2
openembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.tar.xz
openembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.zip
package.bbclass: Fix debug sources directory creation to reference the target system
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 59a0601d0..c8adbb056 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -225,7 +225,7 @@ def splitfile2(debugsrcdir, d):
sourcefile = bb.data.expand("${WORKDIR}/debugsources.list", d)
if debugsrcdir:
- bb.mkdirhier(debugsrcdir)
+ bb.mkdirhier("%s%s" % (dvar, debugsrcdir))
processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
processdebugsrc += "(cd '%s' ; cpio -pd0mL '%s%s' 2>/dev/null)"
='#n153'>153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276