Ross Burton [Mon, 13 Jun 2016 23:14:06 +0000 (00:14 +0100)]
classes/kernel: remove path assumptions in compile_kernelmodules
do_compile_kernelmodules was assuming that the current directory was ${B} but
didn't make that explicit, so use an absolute path to ensure this always works.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2) Here are the fixes since 4.2, the [SV 47995] is important for us.
* maintMakefile: TP recommends rsync for retrieving PO files.
* main.c (main): [SV 48009] Reset stack limit for make re-exec.
[SV 47995] Ensure forced double-colon rules work with -j.
* DELETE_ON_ERROR: [SV 48061] Use "exit 1" for portability.
* w32/pathstuff.c: [SV 47996] Use ISBLANK() not isblank().
Fix printing time stamps on MS-Windows
[SV 48037] Fix MinGW build with Posix configury tools
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jussi Kukkonen [Mon, 25 Apr 2016 12:55:38 +0000 (15:55 +0300)]
packagegroup-self-hosted: Remove unused theme, use Adwaita icons
GTK+3 default theme is included in GTK+3. The corresponding GTK+2
theme would be in gnome-theme-adwaita, but the packagegroup does not
have GTK+2 apps anymore.
Also move icons to -graphics package.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Wed, 1 Jun 2016 07:57:32 +0000 (10:57 +0300)]
matchbox-desktop: Add Sato folder configuration
matchbox-desktop folder configuration for Sato was in a separate
project 'matchbox-desktop-sato'. Skip the extra overhead: remove
matchbox-desktop-sato and include the files here.
Drop Utilities folder and include those icons in the Applictions
folder in an effort to make the common case a little more useful:
Now e.g. Terminal icon should be visible on startup.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Mon, 29 Feb 2016 11:51:10 +0000 (13:51 +0200)]
matchbox-session-sato: Update session startup
* Use Adwaita Gtk+ theme
* sato-gtk-engine is no longer needed with Adwaita
* GTK_CSD tricks are no longer needed since the panel
does not draw on top windows
* Add meta-theme index file: it used to be provided by gtk-sato-engine
and is used by matchbox-config-gtk only (to be able to show a single
selection for Gtk+, icon and Matchbox themes). This is a more
logical place for it.
* Set matchbox-theme gconf key (just to be explicit, this is the
default already)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Wed, 4 May 2016 09:49:28 +0000 (12:49 +0300)]
sysprof: Upgrade to git version slightly past 3.20
New version uses Gtk+3. 3.20 release requires a bunch of fixes to
build without polkit, this git revision inclues those fixes.
* Add patch to use proper U64_TO_POINTER macro to fix build on
32 bit platforms.
* Forward port memory barrier patches for arm & mips
* sysprof builds with loads of warnings and git builds also use
-Werror: avoid that by setting "--enable-compile-warnings"
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Tue, 26 Apr 2016 12:19:48 +0000 (15:19 +0300)]
vte: Upgrade to 0.44.1
* License change LGPL 2.0 -> LGPL 2.1+
* vte-termcap is no more
* API break: current version seems to be parallel installable
with old one, but I did not opt for that.
* Add patch to avoid stack protection by default
* Use libtool-cross: libtool adds "-nostdlib" when g++ is used,
and this leads to a link failure on PIE builds: "undefined
reference to __init_array_start". libtool-cross has a hack to
avoid "-nostdlib"
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Mon, 25 Apr 2016 12:40:57 +0000 (15:40 +0300)]
packagegroup-core-x11: Use adwaita icons instead of sato
Adwaita icon set is significantly more extensive (8MB vs 2MB). However,
as pcmanfm already rrecommends adwaita-icon-theme, this change actually
makes typical packagegroup-core-x11 smaller as a whole since
sato-icon-theme is no longer required.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Mon, 29 Feb 2016 11:48:14 +0000 (13:48 +0200)]
matchbox-panel-2: Upgrade to 2.10
* Changes in 2.10:
- Port to GTK3, avoid all deprecated API
- Add --mode for easier testing
* Remove a backported patch.
* License checksum changes because copyright years change
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Mon, 29 Feb 2016 11:46:39 +0000 (13:46 +0200)]
matchbox-desktop: Ugrade to 2.1
Changes since 2.0
* Ported to GTK+3
* Removed deprecated API use, started using new
GTK+ features like FlowBox instead of custom code
* Added --mode for easier debugging
One of the LIC_FILES_CHKSUM files was removed upstream.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Tue, 14 Jun 2016 15:17:46 +0000 (16:17 +0100)]
classes/rm_work: use the idle I/O scheduler class
As rm_work is just cleanup it shouldn't starve more important tasks such as
do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle
scheduler class.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Awais Belal [Tue, 14 Jun 2016 11:26:08 +0000 (16:26 +0500)]
python3: fix CROSSPYTHONPATH for cross builds
There are cases where target and host are of the same
type and at such instances the target modules may be
loaded if CROSSPYTHONPATH is not correct. This adds
host library paths so that target modules are not
loaded while cross compiling to avoid illegal instruction
issues.
Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Anuj Mittal [Tue, 14 Jun 2016 09:10:20 +0000 (17:10 +0800)]
gcc: make sure header path is set correctly
We're setting the native header paths in do_configure_prepend,
and don't need to set them again here.
This results in gcc-target not being able to locate the headers
and not being able to detect glibc version, which in turn
results in SSP support not getting detected even though it's available
in libc.
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Mon, 13 Jun 2016 15:56:35 +0000 (11:56 -0400)]
linux-yocto/4.1: powerclamp: APL CPU
These patches backport the upstream changes for powerclamp to support APL APU.
Dasaratharaman Chandramouli (1):
intel powerclamp: support Knights Landing
Jacob Pan (2):
thermal/powerclamp: add cpu id for denlow platform
thermal/powerclamp: remove cpu whitelist
Radivoje Jovanovic (2):
thermal/powerclamp: add cpu id for skylake h/s
thermal/powerclamp: add cpu id for Skylake u/y
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Mon, 13 Jun 2016 15:56:34 +0000 (11:56 -0400)]
linux-yocto/4.1: Always Running Timer Support
Backporting mainline patches to add always running timer support (ART).
The main advantage of ART is that ART can be captured
simultaneous to the capture of audio and network device clocks,
allowing a correlation between timebases to be constructed.
Arnd Bergmann (1):
ntp/pps: replace getnstime_raw_and_real with 64-bit version
Christopher S. Hall (4):
time: Add cycles to nanoseconds translation
time: Add timekeeping snapshot code capturing system time and counter
time: Add driver cross timestamp interface for higher precision time synchronization
x86/tsc: Always Running Timer (ART) correlated clocksource
DengChao (1):
timekeeping: Provide internal function __ktime_get_real_seconds
Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Mon, 13 Jun 2016 15:56:33 +0000 (11:56 -0400)]
linux-yocto/4.1: intel_idle: backport BXT CPU support
Integrating upstream changes for intel_idle to support BXT CPU.
Dasaratharaman Chandramouli (1):
intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
Len Brown (4):
intel_idle: Skylake Client Support
intel_idle: Skylake Client Support - updated
intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
intel_idle: add BXT support
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Backporting the following commits for BXT and other device support:
b4acdc6d1ea9 serial: 8250_dw: Do not use readl/writel before checking port iotype c439afb78cda serial: 8250_dw: Add support for big-endian MMIO accesses 9227cc288f7e serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr() 9d608cf2b4c5 serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag db4e65b3a854 serial: 8250_dw: cleanup dw8250_setup_port f4885484ee87 serial: 8250_dw: cleanup dw8250_idma_filter 0912b12e5df0 serial: 8250_dw: rename and comment the fallback dma filter 3436bb74c86b serial: 8250_dw: proper support for UARTs without busy functionality fac8ac4a8074 serial: 8250_dw: add dw8250_quirks function 0bba963bdd94 serial: 8250_dw: only setup the port from one place d01850ea5471 serial: 8250_dw: hook the DMA in one place 585f11e24199 serial: 8250_dw: adapt to unified device property interface df44bc6d8b61 serial: 8250_dw: add separate pointer for the uart_port to dw8250_probe 84e9183637e7 serial: 8250_dw: allow lower reference frequencies 70ce481f5678 serial:8250_dw: do not alter CTS and DCTS since AFE is enabled 739968950dc4 serial: 8250: Auto CTS control by HW if AFE enabled 074cdf88d099 serial: 8250_dw: support ACPI platforms with integrated DMA engine 0bb15fc79c22 serial: 8250_dma: no need to sync RX buffer 45082f48e5c6 dmaengine: idma: rename to INTEL_IDMA64 1f4c5fb48460 mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers 6963cc8f6e2e mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers aab588165ee4 mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers c51e080a85ac mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL fbbad4798f9c mmc: sdhci-pci: Fix card detect race for Intel BXT/APL ce6717f7195e mmc: sdhci: Allow override of get_cd() called from sdhci_request() abceeaf8efc8 mmc: sdhci: Allow override of mmc host operations 279c8ddf6b6d mmc: sdhci: make max-frequency property in device tree work 6e9d3ad3a003 mtd: spi-nor: add support for w25q128fw
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mariano Lopez [Fri, 10 Jun 2016 11:48:53 +0000 (11:48 +0000)]
update-rc.d.bbclass: Disable class when sysvinit is not in DISTRO_FEATURES
When sysvinit is not in use, update-rd.d class adds build dependencies
that won't be needed, this patch removes the build dependecies and
won't add the task to PACKAGESPLITFUNCS.
[YOCTO #9515]
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Stephen Arnold [Mon, 13 Jun 2016 01:09:56 +0000 (18:09 -0700)]
qemu-native: set ld.bfd, fix cflags, and set some environment vars
The main thing is build failures with gold linker, but qemu is also a
little too aggressive at finding random tools on the build host, so we
also set the build env for qemu-native and make sure it doesn't reset
its own (hard-coded) cflags when we don't want it to.
Signed-off-by: Stephen Arnold <sarnold@vctlabs.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Wed, 15 Jun 2016 09:54:43 +0000 (10:54 +0100)]
oprofileui: remove
oprofileui doesn't work anymore with not-so-recent changes to the oprofile
command line interface, and perf is becoming the expected profiling solution so
any future profiling tools should be using that instead.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Mon, 13 Jun 2016 09:16:27 +0000 (05:16 -0400)]
ghostscript: upgrade to 9.19
- Ghostscript and GhostPDL releases from version 9.19 have been moved to GitHub
hosting, tweak download site
- Drop 0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch, and
0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch, ghostscript
9.19 has fixed them.
- Fix QA Warning unrecognised options: --enable-little-endian. It use AC_C_BIGENDIAN
to detect big/little endian.
http://www.delorie.com/gnu/docs/autoconf/autoconf_64.html
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zhenhua Luo [Mon, 13 Jun 2016 11:47:34 +0000 (19:47 +0800)]
image.bbclass: do exact match for rootfs type
Do exact match for rootfs type, instead of pattern match, to avoid
unexpected build error due to redundant rootfs type build.
E.g. when building ext2.gz.u-boot, both .gz.u-boot and .u-boot are matched,
the following build error will appear, actually .u-boot is not needed.
| mkimage: Can't open .../core-image-minimal-<machine>-<yyyymmddhhmmss>.rootfs.ext2.gz: No such file or directory
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Urs Fässler [Mon, 13 Jun 2016 14:46:21 +0000 (16:46 +0200)]
xinput-calibrator: add missing dependency for xinput_calibrator_once.sh
xinput_calibrator_once.sh uses xrandr to read the resolution but is not in the dependency list.
Busybox is unable to parse the corresponding line, hence depending on bash.
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 13 Jun 2016 13:56:08 +0000 (14:56 +0100)]
libc-package: ensure glibc-locale package list is deterministic
If all locales are being generated then the list used is the keys from a
dictionary. In Python 3.4 onwards the ordering of a dictionary changes for
every instance, so sort the key list.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 13 Jun 2016 04:43:41 +0000 (16:43 +1200)]
scripts: ensure not specifying subcommand shows help text
With Python 2, argparse subparsers behaviour in Python 2 was to print
the usage information if the subparsers argument wasn't specified.
However, with Python 3.2.3 and later a subparsers argument is not
required by default, leading to errors when no arguments are specified:
AttributeError: 'Namespace' object has no attribute 'func'
Restore the previous desired behaviour of showing the help text for
devtool, recipetool and the devtool-stress script by setting
subparsers.required to True.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 12 Jun 2016 22:57:53 +0000 (23:57 +0100)]
staging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes
We're about to rewrite the data structures in taskdata/runqueue in bitbake
and we 'leaked' knowledge about those structures to this single function.
Add a 'v2' function definition for use with the newer bitbake, the older
one can remain for compatibility for a while, then be removed. The function
is comparatively simple and rarely changes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Zhenhua Luo [Sun, 12 Jun 2016 09:02:34 +0000 (17:02 +0800)]
binutils: fix the incorrect assembling for ppc wait instruction
The wait mnemonic for ppc targets is incorrectly assembled into 0x7c00003c due
to duplicated address definition with waitasec instruction. The issue causes
kernel boot calltrace for ppc targets when wait instruction is executed.
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Aníbal Limón [Fri, 10 Jun 2016 15:12:10 +0000 (10:12 -0500)]
oe/distro_check.py: Fixes for python3
create_socket: Use urllib because urllib2 is now urllib in python3
and proxies as argument are deprecated so export them in the environ
instead.
get_links_from_url: Change usage of sgmllib for parsing HTML because
is deprecated in python 3, use instead bs4 that is already imported
in the bitbake tree.
[YOCTO #9744]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
André Draszik [Fri, 10 Jun 2016 15:12:39 +0000 (16:12 +0100)]
mips: add tunes for (some) 24K cores
- add 24kc big and little endian, which is based on mips32r2 w/o FPU
- add 24kec which is 24kc + DSP
- both can have the MIPS16e ASE enabled in their tunes
Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
André Draszik [Fri, 10 Jun 2016 15:12:38 +0000 (16:12 +0100)]
mips: add a tune for using MIPS16e ASE instructions
The MIPS16e instruction set still has to be enabled by setting
MIPS_INSTRUCTION_SET = 'mips16e'
in e.g. distro.conf and can be disabled on a per-recipe basis as
needed.
This is a similar approach as is available on ARM for Thumb support.
Note that contrary to the ARM Thumb support in OE, we do add a new
OVERRIDE (mips16e), as there are some recipes in OE that need to be
compiled slightly differently if mips16e mode is requested.
Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
André Draszik [Fri, 10 Jun 2016 15:12:13 +0000 (16:12 +0100)]
uclibc: never build with SSP
This doesn't work, as the initial gcc that is used for compiling
uclibc doesn't have support for SSP yet (since that will only
be available once uclibc has been compiled). Since during that
same compilation step uclibc is trying to build its own utils
those are failing to compile with SSP enabled as the
initial gcc doesn't have access to the required libraries,
yet.
We never used to set UCLIBC_BUILD_SSP in the past, this was
only changed as part of the upgrade to uclibc-ng in
commit 63bdadc (uclibc: Switch to using uclibc-ng), so here
we now simply restore the previous behaviour.
Note that we still enable SSP support inside uclibc for
everybody else to use, though.
Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>