[NOTE: this PR is actually based on PR #49 and if that PR is updated, I will rebase this branch and update this PR]
The objcopy tool is used by build-bom for both generate-bitcode and
extract-bitcode, but a specific objcopy might be needed (e.g. for
cross-compiling: --objcopy=aarch64-linux-gnu-objcopy).
Also standardizes some of the path handling and defaulting to simplify the uses.
[NOTE: this PR is actually based on PR #49 and if that PR is updated, I will rebase this branch and update this PR]
The
objcopy
tool is used by build-bom for both generate-bitcode and extract-bitcode, but a specificobjcopy
might be needed (e.g. for cross-compiling:--objcopy=aarch64-linux-gnu-objcopy
).Also standardizes some of the path handling and defaulting to simplify the uses.