aboutsummaryrefslogtreecommitdiffstats
path: root/meta-netboot/classes
AgeCommit message (Expand)AuthorFilesLines
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller1-0/+5
2019-12-03Extend intel-corei7-64 machine to support virtual targetsPaul Barker1-1/+1
2019-10-31Replace tab by 4 spacesRonan Le Martret1-17/+17
2018-01-23Change image type to wic.vmdkChanghyeok Bae1-1/+1
2018-01-23netboot.bbclass: Remove image_types_uboot inheritanceChanghyeok Bae1-3/+0
2017-10-14meta-agl-bsp: Re-merge image-vm/image.bbclass overlaysTom Rini1-1/+1
2017-07-12netboot: fix dependency loop for qemu buildMatt Ranostay1-1/+1
2017-06-28Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller1-2/+2
2017-06-28Enforce same IMAGE_FSTYPES across all boards for AGLJan-Simon Möller1-4/+2
2016-09-26Fix meta-netboot build on Minnowboard Max after migration to KrogothStephane Desneux1-2/+3
2016-09-14Set INITRAMFS_IMAGE instead of appending to itAnton Gerasimov1-1/+1
2016-05-29add layer meta-netboot to enable network boot over NBD (Network Block Device)Stephane Desneux1-0/+26
* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
---
title: Release 0.43
short-description: Release notes for 0.43
...

## Portability improvements to Boost Dependency

The Boost dependency has been improved to better detect the various
ways to install boost on multiple platforms. At the same time the
`modules` semantics for the dependency has been changed. Previously it
was allowed to specify header directories as `modules` but it wasn't
required. Now, modules are only used to specify libraries that require
linking.

This is a breaking change and the fix is to remove all modules that aren't
found.

## Generator learned capture

Generators can now be configured to capture the standard output. See
`test cases/common/98 gen extra/meson.build` for an example.

## Can index CustomTarget objects

The `CustomTarget` object can now be indexed like an array. The
resulting object can be used as a source file for other Targets, this
will create a dependency on the original `CustomTarget`, but will only
insert the generated file corresponding to the index value of the
`CustomTarget`'s `output` keyword.

```meson
c = custom_target(
  ...
  output : ['out.h', 'out.c'],
)
lib1 = static_library(
  'lib1',
  [lib1_sources, c[0]],
  ...
)
exec = executable(
  'executable',
  c[1],
  link_with : lib1,
)
```

## Can override executables in the cross file

The cross file can now be used for overriding the result of
`find_program`. As an example if you want to find the `objdump`
command and have the following definition in your cross file:

```ini
[binaries]
...
objdump = '/usr/bin/arm-linux-gnueabihf-objdump-6'
```

Then issuing the command `find_program('objdump')` will return the
version specified in the cross file. If you need the build machine's
objdump, you can specify the `native` keyword like this:

```meson
native_objdump = find_program('objdump', native : true)
```

## Easier handling of supported compiler arguments

A common pattern for handling multiple desired compiler arguments, was
to test their presence and add them to an array one-by-one, e.g.:

```meson
warning_flags_maybe = [
  '-Wsomething',
  '-Wanother-thing',
  '-Wno-the-other-thing',
]
warning_flags = []
foreach flag : warning_flags_maybe
  if cc.has_argument(flag)
    warning_flags += flag
  endif
endforeach
cc.add_project_argument(warning_flags)
```

A helper has been added for the foreach/has_argument pattern, so you
can now simply do:

```meson
warning_flags = [ ... ]
flags = cc.get_supported_arguments(warning_flags)
```

## Better support for shared libraries in non-system paths

Meson has support for prebuilt object files and static libraries. This
release adds feature parity to shared libraries that are either in
non-standard system paths or shipped as part of your project. On
systems that support rpath, Meson automatically adds rpath entries to
built targets using manually found external libraries.

This means that e.g. supporting prebuilt libraries shipped with your
source or provided by subprojects or wrap definitions by writing a
build file like this:

```meson
project('myprebuiltlibrary', 'c')

cc = meson.get_compiler('c')
prebuilt = cc.find_library('mylib', dirs : meson.current_source_dir())
mydep = declare_dependency(include_directories : include_directories('.'),
                           dependencies : prebuilt)
```

Then you can use the dependency object in the same way as any other.

## wrap-svn

The [Wrap dependency system](Wrap-dependency-system-manual.md) now
supports [Subversion](https://subversion.apache.org/) (svn). This
support is rudimentary. The repository url has to point to a specific
(sub)directory containing the `meson.build` file (typically `trunk/`).
However, providing a `revision` is supported.