jack2: fix NGREG build failures
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Dec 2016 16:21:46 +0000 (17:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jan 2017 10:05:20 +0000 (23:05 +1300)
commitcccaf5e046dedcda481e818752b07c6593cbeeb9
treeabd4e5b2c2159869aa2389b6b72d320a19c5c74d
parenta3e4b0fb5362893d9ca5bb517a96027f563b3cc1
jack2: fix NGREG build failures

This commit replaces the patch adding nios2 "support" to jack2 by a more
generic approach that solves the NGREG definition problem by using
proper checks in the waf script. This allows to remove the
architecture-specific compile time conditionals, and will solve build
failures on other architectures than just nios2.

Fixes:

  http://autobuild.buildroot.net/results/d15dc78cdd74b51b551512ce1ba88e4d61219e86/ (xtensa)
  http://autobuild.buildroot.net/results/8244e3fdda52d3f4f24d7199e8855c99a2a7b4b1/ (arc)
  http://autobuild.buildroot.net/results/badb9ec391f9f0438d593a2768f2f6c6a873c021/ (microblaze)

This commit has been built tested with all the external toolchains used
in the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jack2/0001-Add-support-for-nios2.patch [deleted file]
package/jack2/0001-Improve-check-for-ucontext.patch [new file with mode: 0644]