core/udev: Fix build dependency.

gperf is required for building udev.

Change-Id: If0a0e3cbea4f1f920bf80629d168113c4b24f8a5
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/415
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
build: Distinguish between package and pbs version.

To mark packages that have been built from a local source link pbs extends the
version number of the package with a "+"-sign. As binary hook scripts might rely
on the original package version (ie the linux kernel) pass the plain unchanged
package version to the binary hook scripts additionally. The advantage of this
is that no hacks for stripping pbs version suffixes are required, which may
collide with suffixes in the original package version.

Change-Id: Id120d0c4100502b9720a136d0561af2ebabeacc7
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/460
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
kernel/linux: Fix build for "+" suffixed versions.

Since commit ce4d57e81e the pbs-binary script provides the plain package version
without pbs specifix suffixes to the binary hook scripts. So we can remove the
hack which cuts of the pbs "+"-suffix and broke kernel build for versions which
had a "+" suffixed by the kernel and not pbs.

Change-Id: I77498eec73f8e320c22997421828a48d15546122
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/461
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
build: Use the correct package version to extract.

While fixing the kernel build issue, when using a source-link, we introduced a
new issue. Instead of using the new PBS_VERSION, which contains the
source-link suffix, we used the package version to extract the build package.
So we break the build of all other source-link packages, except the kernel.
Using the PBS_VERSION solves this issue.

Change-Id: I9a251454a44adbf1858859c12b5c66ff3e263fc7
Signed-off-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/480
Reviewed-by: Julian Scheel <julian.scheel@avionic-design.de>
platforms: tec-ng: Enable busybox.

We need busybox to provide several standard system tools. Especially login is
important so that a login on the serial getty is possible.

Change-Id: I3d6d42ca30290f14e5155cdce9b968f9e4c03c18
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/481
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
build/powerpc: The powerpc target needs a machine type

Like for the x86 the power toolchains need a machine type, most
toolchains use the default: unknown

Change-Id: I031237ec4ce7fc803324cff0709e7a0255551169
Signed-off-by: Alban Bedel <albeu@free.fr>
Reviewed-on: http://review.adnet.avionic-design.de/320
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>
devel/uclibc: Fix build for powerpc against recent Linux kernels

uclibc is shipping with some out dated linux header leading to some
declaration conflicts. Fix those by updating the header in uclibc.
See commit 6a76edddaa62ff06f178143b582167734cb55c18 in uClibc for
details.


Change-Id: I249ef472b9ddebe180ee0a929b3d606e16f20991
Signed-off-by: Alban Bedel <albeu@free.fr>
Reviewed-on: http://review.adnet.avionic-design.de/322
Reviewed-by: Soeren Grunewald <soeren.grunewald@avionic-design.de>