summaryrefslogtreecommitdiff
path: root/mk/vars.mk
AgeCommit message (Collapse)Author
2016-09-29flags require for host envWaldemar Brodkorb
2016-09-12qemu: efi boot works, need to add a package for EFI bios fileWaldemar Brodkorb
2016-07-10allow debug builds for cortex-m toolchainsWaldemar Brodkorb
2016-07-06x32: fix toolchain buidingWaldemar Brodkorb
2016-06-19remove unused variablesWaldemar Brodkorb
FETCHCMD is added to prereq.mk, so ADK_WGET_TIMEOUT is unused nowadays.
2016-05-12add support to play with LLVM/clangWaldemar Brodkorb
2016-04-28if text-section-literals should be used, we will add special option laterWaldemar Brodkorb
2016-04-28musl: use shared libgcc for non-static buildsWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2016-04-24m68k: remove gcc wrapperWaldemar Brodkorb
We don't need the gcc wrapper when some object files removed from libgcc.a. Idea from uClinux-toolchain build script. Fix some issues with shared flat, still no bootup. For msep-data DOPIC is used, for one-region flat DOPIC must be disabled. So both tested and working.
2016-04-12append endian suffix to cpu type, not systemWaldemar Brodkorb
2016-04-08ed: update to 1.13, add lzip as decompressorWaldemar Brodkorb
2016-04-04add binfmt suffix for bfinWaldemar Brodkorb
2016-04-02add support for epiphany bare-metal toolchain buildingWaldemar Brodkorb
2016-03-27reimplement package patching and update-patches logicPhil Sutter
This works by using git as backend for all the dirty work. This means that patches are not just applied, but committed separately on top of the base sources (which are put into an initial commit). A final empty commit marks the end of the applied patch series, which allows to have multiple sets of patches to apply on top of each other. So a git history might look like this: - OpenADK patch marker: 0000 (this is the initial commit, containing the unpatched sources) - patch 1 of series 1 - patch 2 of series 1 - patch 3 of series 1 - OpenADK patch marker: 0001 - patch 1 of series 2 - patch 2 of series 2 - OpenADK patch marker: 0002 In addition to the separating empty commits, for every patch series metadata files are added (which are used for update-patches): __patchfiles__: A list of the patches' file names __patchdir__: The directory containing the applied patches Since patches might have to be unzipped first and in order to allow calling git-am just once for each patch series, the patches (along with above metadata files) are cached in dedicated directories: .git/patch_tmp/NNNN (where NNNN is the series number with leading zeroes [so shell globbing returns them in the right order]). In case update-patches is called later, update_patches.sh works it's way reverse through the git history, searching for commits named 'OpenADK patch marker: NNNN'. For each one it finds, it uses the metadata info to first remove all source patch files, then export the history in between using git-format-patch. To change patches or add new ones, the user has to use git-rebase in order to get things where they need to be for update_patches.sh to put stuff at the right place. For an example, here is how to change patch 3 of series 1 in the sample history above: - make desired code changes - commit them, ideally using --fixup option - call 'git rebase -i --autosquash <hash of OpenADK patch marker: 0000>' Using --fixup and --autosquash is convenient, since it automatically edits the rebase todo as intended. It's optional though, editing the todo manually will do just fine as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
2016-03-07rework menu based config systemWaldemar Brodkorb
After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;)
2016-02-25add basic newlib toolchain support for moxieWaldemar Brodkorb
2016-02-16rework ARM NEON supportWaldemar Brodkorb
Don't build C library with -ffast-math when NEON is globally enabled. Disable NEON support by default. Remove dangerous -funsafe-math-optimizations. Most suggestions from Rich Felker after analyzing libc-test failures in my setup.
2016-02-10unbreak perl compile for mips64 n32, not sure we still need to add this for ↵Waldemar Brodkorb
some packages
2016-01-07do not use common V/VERBOSE variables, avoids clashing with openjdk8 packageWaldemar Brodkorb
2015-12-13rework prereq checkWaldemar Brodkorb
The new prereq check is completely implemented in POSIX shell in scripts/prereq.sh. It combines the old features from Makefile, scan-tools.sh, scan-pkgs.sh, reloc.sh and some wrappers for tools. The big benefit is to have all portability stuff in one place. Furthermore we can compile GNU make and bash on the fly, for systems lacking the required tools. All changes on the host are detected on the fly, no make prereq required anymore. The build process is separated in following three phases: 1. small wrapper Makefile is used for BSD make or GNU make 2. prereq.sh is called, doing all checking, calling Makefile.adk 3. old logic in Makefile.adk or mk/build.mk is used Tested successfully on Linux, MacOS X, Cygwin, FreeBSD, OpenBSD and NetBSD. An old depmaker bug was fixed, only optional host tools are compiled. For example, even when a host provides xz, a local xz was compiled in the past, because other packages had a build dependency on it. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2015-12-04set LDFLAGS, tooWaldemar Brodkorb
2015-12-04cleanup binfmt flat handling, reduce duplicatesWaldemar Brodkorb
2015-12-03toolchain: add newlib supportWaldemar Brodkorb
OpenADK can now build bare-metal toolchains. Tested for ARM/MIPS. No runtime testing, yet.
2015-11-29h8300: no sep-data support for h8/300Waldemar Brodkorb
2015-11-29bfin: fix elf2flt CFLAGS/CXXFLAGSWaldemar Brodkorb
2015-11-23gcc git doesn't use text-section-literalsWaldemar Brodkorb
2015-09-15LIBTOOLIZE is used sometimes in packages, remove -qWaldemar Brodkorb
2015-07-27add some basic support for emcraft kinetisWaldemar Brodkorb
2015-07-24enable fast-math together with ARM neonWaldemar Brodkorb
2015-06-28more h8300 fixesWaldemar Brodkorb
2015-06-26use gcc wrappers for ltoWaldemar Brodkorb
2015-06-16fix h8/300 userland buildWaldemar Brodkorb
2015-06-10add some h8/300 fixesWaldemar Brodkorb
2015-06-10add simulator target for h8/300, reorg no-MMUWaldemar Brodkorb
Some no-MMU targets need uclinux in its triple, some not. Introduce a new symbol for noMMU to select correct software and configuration instead of using UCLINUX symbol.
2015-06-07add support for h8/300 architectureWaldemar Brodkorb
2015-05-13only use when NEON choosenWaldemar Brodkorb
2015-05-02create HOST_CFLAGS/HOST_CXXFLAGS dynamically for static-libgcc systemsWaldemar Brodkorb
2015-05-01add cpu type for different toolchains with the same architectureWaldemar Brodkorb
2015-04-26make compiling with debug information non-default behaviorWaldemar Brodkorb
As mentioned by Phil, a lot of disk space is needed nowadays to build OpenADK. Switch to non debug builds as default to save 2 GB for each default build.
2015-04-11check ostype directlyWaldemar Brodkorb
2015-04-04fix the leading underscore in firmware dirWaldemar Brodkorb
2015-04-04we need to use unique name for firmware dirs, tooWaldemar Brodkorb
2015-04-02respect HOST_PATHWaldemar Brodkorb
2015-03-29use separate dirs for soft-float/hard-float toolchainsWaldemar Brodkorb
2015-03-11enable binfmt flat for bfin, fdpic test-suite compile failWaldemar Brodkorb
2015-03-04use separate directories for nommu setupWaldemar Brodkorb
2015-03-02update elf2flt, so that arm-nommu binaries are linkable.Waldemar Brodkorb
2015-03-01use special cflags for neonWaldemar Brodkorb
2015-02-25use elf2flt CFLAGS for ARM with BINFMT_FLATWaldemar Brodkorb
2015-02-25m68k specific LDFLAGSWaldemar Brodkorb