summaryrefslogtreecommitdiff
path: root/mk/vars.mk
AgeCommit message (Collapse)Author
2019-09-30remove unfinished alternative os porting effortsWaldemar Brodkorb
2018-06-14add option for special CFLAGS/CXXFLAGSWaldemar Brodkorb
Do not disable exception handling and unwinding options by default, as this breaks exception handling in C++ applications using libstdc++. Reported-by: Tom Deblauwe
2018-06-03add suffix for instruction setWaldemar Brodkorb
2018-06-01c6x: fix shared toolchain building, disable multilib dirs in gcc 7.3.0Waldemar Brodkorb
2018-05-27kodi: update to leia 18 alpha, add all required packagesWaldemar Brodkorb
2018-05-25rework hardware and C library settingsWaldemar Brodkorb
Make the menu system for configuration more intuitive. First choose operating system, then hardware, starting with architecture. Then choose either generic or a sample system. When choosing a sample be more strict in case of MMU or Endianess selection, so a misconfiguration isn't possible. Furthermore put a new top level menu for C library configuration and add Binary format, Instruction set, version selection, float type and any C library specific options. Refactor the duplicate definition of Qemu system versatile and Synopsys NSIM.
2018-03-17use HOST_PATH for tarWaldemar Brodkorb
2018-03-13csky: fix qemu system emulationWaldemar Brodkorb
2018-03-07add support for walduxWaldemar Brodkorb
2018-01-12add basic rtems support as a new playgroundWaldemar Brodkorb
2017-12-31add basic zephyr experiments, add xtensa newlib supportWaldemar Brodkorb
2017-12-17allow to build static gdb/strace with static/shared mixed toolchainWaldemar Brodkorb
2017-11-24csky: ck610 doesn't support FPU.Guo Ren
1. No FPU for ck610 2. Only little endian is supported. 3. linux-4.9.56 for now. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2017-10-17csky: fine tune supportWaldemar Brodkorb
2017-09-17remove -fhonour-copts usageWaldemar Brodkorb
This reuires a external gcc patch, which I no longer add to newer gcc. A lot of packages already need to disable the usage of -fhonour-copts, because it doesn't work without patching. May be we need something like Buildroot is using, a gcc wrapper to see poisened include or library paths while cross-compiling.
2017-09-06frosted: finetune, remove menuconfig warningsWaldemar Brodkorb
2017-08-27add basic support for frosted operating systemWaldemar Brodkorb
https://github.com/insane-adding-machines/frosted Rework our architecture selection and os dependent logic a little bit to be cleaner. As only arm is supported, we only modify arm systems to comply with new changeset.
2017-07-29add basic support for architecture c-sky, not yet workingWaldemar Brodkorb
2017-04-23fix build on CygwinWaldemar Brodkorb
2017-04-11Fix CXX variable when using ccachecsk
2017-04-02kernel modules: handle missing -fhonour-coptsWaldemar Brodkorb
2017-03-28Darwin: host-tools shouldn't use -rpathWaldemar Brodkorb
2017-03-22Introduce CCACHE-less compiler variables and use for building with cmakedir
2017-03-17llvm: update to 4.0.0, allow to compile musl with itWaldemar Brodkorb
2017-02-19use unzip for zipWaldemar Brodkorb
2017-02-10add CPU_FLAGS for target to TARGET_LDFLAGS, required for h8300Waldemar Brodkorb
2017-02-09add basic support for edosk2674Waldemar Brodkorb
2017-01-14binutils: -all-static does not work for 2.27Waldemar Brodkorb
2016-12-25use GNU cpio instead of heirloom cpioWaldemar Brodkorb
On newer hardware heirloom cpio triggers a segfault in memcpy from glibc (ssse3 optimized version). Just use default GNU cpio and provide it via host package.
2016-12-05xtensa: only use auto-litpools for little endianWaldemar Brodkorb
2016-11-27add three library methods, static, shared or bothWaldemar Brodkorb
Rename the static symbol and add the choice to a more visible place for users.
2016-11-21m68k/coldfire: elf2flt has some issues, gas error, so disable cfi asm generationWaldemar Brodkorb
2016-11-21xtensa: use optimized flags, default to binutils 2.27Waldemar Brodkorb
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.