craftr.ext.unix
¶
-
craftr.ext.unix.
pkg_config
(*flags)[source]¶ Calls pkg-config with the specified flags and returns a list of the returned flags.
-
class
craftr.ext.unix.
Ar
(program='ar', **kwargs)[source]¶ Interface for the Unix ar archiver.
-
name
= 'Unix AR'¶
-
-
class
craftr.ext.unix.
Ld
(program='ld', **kwargs)[source]¶ Interface for the Unix ld command.
-
link
(output, inputs, frameworks=(), target_name=None, meta=None, **kwargs)[source]¶ Supported options:
- program
- linker_script
Target meta variables:
- link_output – The output filename of the link operation.
-
name
= 'Unix LD'¶
-
-
class
craftr.ext.unix.
Objcopy
(program='objcopy', detect=True, **kwargs)[source]¶ Interface for the objcopy tool.
-
name
= 'Unix Objcopy'¶
-
objcopy
(output_format, inputs, outputs=None, target_name=None, output_dir='', meta=None, **kwargs)[source]¶ Performs an objcopy task with an output file (no append!) given the specified inputs generating outputs with the specified output_format. If outputs is omitted, it will be automatically generated from inputs.
Supported options:
- program
- output_suffix
- input_format
- binary_architecture
- description
Target meta variables: none
-