systemtap: Add -lpthread option in LDFLAGS.

* CodeSourcery toolchain 2013.05-27 gives an error about
pthread_cacel symbol. Toolchain was not able to load
libpthread.so automatically so we have to link it manually.
* CB-2122

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>

Backported from master branch.
Original commit is 296b92963f40fdd17b904f5ff3f6f780054ccd8f

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
Merge pull request #1 from mdurnev/mdurnev/systemtap

systemtap: Add -lpthread option in LDFLAGS.
local.conf.in: Document shorter KVERSION

This is no longer needed to synchronize the kernel header versions.
It is currently only used in the package naming so use just the
major and minor kernel version numbers to avoid having to constantly
update it.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Merge pull request #2 from drewmoseley/kversion-update

local.conf.in: Document shorter KVERSION
Removed old lttng 2.1 bbappends

These bbappends no longer apply to lttng2.2.0.  The global_dirty_limit
patch is already included in lttng-modules 2.2.0, but the ARM syscalls
patch does not apply cleanly and must be redone if needed for the
3.5 or 3.8 kernels.
Merge pull request #3 from mbrown9764/clean-up-lttng-patches

Removed old lttng 2.1 bbappends
Bump DISTRO_VERSION for 2013.08 release

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
libmusicbrainz: Add -lpthread option in LDFLAGS.

* CodeSourcery toolchain 2013.05-29 gives errors about
pthread symbols. The toolchain is not able to load
libpthread.so automatically so we have to link it manually.

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
Merge pull request #5 from mdurnev/mdurnev/musicbrainz

libmusicbrainz: Add -lpthread option in LDFLAGS.
Merge pull request #4 from drewmoseley/version-update

Version update
systemtap: Patches for version 2.1

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
systemtap: Linux 3.8 syscalls update

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Merge pull request #7 from mdurnev/mdurnev/systemtap21

Mdurnev/systemtap21
systemtap: Apply patch conditionally

Only apply the patch for the 3.8 kernel is KVERSION=3.8

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Merge pull request #8 from drewmoseley/systemtap-38-conditional

systemtap: Apply patch conditionally
Add read-only-rootfs and ACCEPT_FSL_EULA

Added read-only-rootfs to EXTRA_IMAGE_FEATURES and set
ACCEPT_FSL_EULA=1 now that we have FSL binary redistribution rights.
Merge pull request #9 from mbrown9764/update-local.conf

Update local.conf
Set read-only-rootfs only for mx6q (not pcsim)
bb-determine-layers: quiet BBFILE_PATTERN def warning

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
(cherry picked from commit d5ff9a2bd25cf4ead60007b1b5dca54a63c2d0f0)

Signed-off-by: Michael Brown <mw_brown@mentor.com>
bb-determine-layers: find optional layer deps in the base layers too

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
(cherry picked from commit da082a877ee5c9f70c220625dcf8d53f571f886d)

Signed-off-by: Michael Brown <mw_brown@mentor.com>