ERROR: QA Issue: File '/path/to/file' from recipe was already stripped, this will prevent future debugging!

問題

bitbake コマンドを実行すると、次のようなエラーが表示される。

ERROR: QA Issue: File '/path/to/file' from recipe was already stripped, this will prevent future debugging!

環境

Yocto Project 1.6 (daisy)

原因

バイナリーファイルにデバッグ情報が含まれていないため?(予想)

解決策 A

レシピに次の行を追記する。

INSANE_SKIP_${PN} += "already-stripped"

解決策 B

レシピに次の行を追記する。

INHIBIT_PACKAGE_STRIP = "1"