Age | Commit message (Collapse) | Author |
|
There are a couple of minor warts:
- 32 bit x86 can be either i386-linux-gnu or i686-linux-gnu
- skip looking for x86_64-linux-gnu-gcc in docker cross envs
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
This can cause much confusion when you have been building in your
source tree. I've added a distclean so we don't unexpectedly drop the
config for normal make clean invocations.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180622141205.16306-5-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
We won't actually want power, we want ppc64el for the 64 bit version.
Also we will soon have m68k so include that as well.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180622141205.16306-4-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
This prevents gcc from going nuts with colorizing the compiler output
which looks particularly ugly when invoked via compilation-mode.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20171107150558.22131-2-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
If we want to link to any other libraries we might find using simple
cross toolchains doesn't work so well. One way around this is to use a
dockerised cross-toolchain which then won't clash with your host
system. If the user specifies --use-docker the obvious will be done.
By default we use the QEMU projects qemu:debian-FOO-cross images as
RISU hackers are likely to be QEMU developers too. However any docker
tag can be passed on the command line.
If none of the docker images have usable compilers we fall back to
checking the host path.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170621154244.28309-3-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20170619104655.31104-5-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Essentialy the code for PowerPC BE and LE are the same, so this patch
renames all *ppc64le.* files to *ppc64.* and reflects such in the
Makefile.
Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Message-id: 1495739423-32326-5-git-send-email-joserz@linux.vnet.ibm.com
[PMM: dropped change which removes the user's ability to manually
set the ARCH variable; deleted a now out of date comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Pass -Werror to builds using EXTRA_CFLAGS; this isn't appropriate
for end users but we can make it the default for developers
using this build script.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Test that a simple risugen invocation for all *.risu files works.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Add a build-all-archs test script which compiles risu for all supported
test architectures (if cross compilers with the expected names are
present).
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
|