diff options
| author | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-04-29 19:21:38 +0200 |
|---|---|---|
| committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-04-29 19:21:38 +0200 |
| commit | 7efc24bf60fcb40244c69853f21e11cdb23e57e9 (patch) | |
| tree | 5839f8d39b29fc8be1e7c6db7b4b88123228eef6 /classes | |
| parent | f3edd2d29b7e0094db6eaa4c7d9a870a3a7d8796 (diff) | |
| parent | fa862d201dcdcffccd627f9f2b75cb9a97c6f65c (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/insane.bbclass | 25 | ||||
| -rw-r--r-- | classes/qmake2.bbclass | 2 |
2 files changed, 22 insertions, 5 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 584a5f1c1e..cc881dc0d8 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -250,21 +250,35 @@ def package_qa_check_rpath(file,name,d, elf): return sane -def package_qa_check_devdbg(path, name,d, elf): +def package_qa_check_dev(path, name,d, elf): """ - Check for debug remains inside the binary or - non dev packages containing + Check for ".so" library symlinks in non-dev packages """ import bb, os sane = True + # SDK packages are special. + for s in ['sdk', 'canadian-sdk']: + if bb.data.inherits_class(s, d): + return True + if not "-dev" in name: if path[-3:] == ".so" and os.path.islink(path): error_msg = "non -dev package contains symlink .so: %s path '%s'" % \ (name, package_qa_clean_path(path,d)) sane = package_qa_handle_error(0, error_msg, name, path, d) + return sane + +def package_qa_check_dbg(path, name,d, elf): + """ + Check for ".debug" files or directories outside of the dbg package + """ + + import bb, os + sane = True + if not "-dbg" in name: if '.debug' in path: error_msg = "non debug package contains .debug directory: %s path %s" % \ @@ -493,9 +507,10 @@ python do_package_qa () { if not packages: return - checks = [package_qa_check_rpath, package_qa_check_devdbg, + checks = [package_qa_check_rpath, package_qa_check_dev, package_qa_check_perm, package_qa_check_arch, - package_qa_check_desktop, package_qa_hash_style] + package_qa_check_desktop, package_qa_hash_style, + package_qa_check_dbg] walk_sane = True rdepends_sane = True for package in packages.split(): diff --git a/classes/qmake2.bbclass b/classes/qmake2.bbclass index f0a7931698..26e813a036 100644 --- a/classes/qmake2.bbclass +++ b/classes/qmake2.bbclass @@ -10,6 +10,8 @@ export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic4" export OE_QMAKE_UIC3 = "${STAGING_BINDIR_NATIVE}/uic34" export OE_QMAKE_MOC = "${STAGING_BINDIR_NATIVE}/moc4" export OE_QMAKE_RCC = "${STAGING_BINDIR_NATIVE}/rcc4" +export OE_QMAKE_QDBUSCPP2XML = "${STAGING_BINDIR_NATIVE}/qdbuscpp2xml4" +export OE_QMAKE_QDBUSXML2CPP = "${STAGING_BINDIR_NATIVE}/qdbusxml2cpp4" export OE_QMAKE_QMAKE = "${STAGING_BINDIR_NATIVE}/qmake2" export OE_QMAKE_LINK = "${CXX}" export OE_QMAKE_CXXFLAGS = "${CXXFLAGS}" |
