diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-14 23:14:32 -0700 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2015-07-15 02:15:08 -0700 |
commit | 90ef4fb9301212187b1c86130be8f0b1d26c6e8e (patch) | |
tree | 4750948dce393f6f26522bad458e7977df0aba46 /meta/conf/machine-sdk | |
parent | 6be698b7270f73f40d38713ecf13f12aec0ced61 (diff) | |
download | openembedded-core-contrib-90ef4fb9301212187b1c86130be8f0b1d26c6e8e.tar.gz |
insane.bbclass: fix package_qa_check_buildpaths
* Ignore elf files because they usually contain build path:
- The path of the source file such as .c, these are usually happen
when separate B and S since we use absolute path to run configure
script, and then VPATH in Makefile will be an absolute path and
contains build path, we can use relative path in autotools.bbclass
to fix the problem, but we don't have to since they are harmless.
- The configure options such as "configure --with-libtool-sysroot"
- The compile options such as "gcc --sysroot"
These are harmless usually, so ignore elf files.
* Ignore "-dbg" and "-staticdev" package since symbols and .a files
usually contain buildpath.
* Ignore .a files too since they contain buildpath, this mainly for
ignoring:
glibc-2.21: glibc-dev/usr/lib/libc_nonshared.a
libgcc-4.9.3: libgcc-dev/usr/lib/x86_64-poky-linux/4.9.3/libgcc_eh.a
gcc-runtime-4.9.3: libssp-dev/usr/lib/libssp_nonshared.a
* Use full path rather than package_qa_clean_path() when report issue,
this makes it easier to find the file and fix the problem.
Then we will verify other warings and fix one be one.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/conf/machine-sdk')
0 files changed, 0 insertions, 0 deletions