summaryrefslogtreecommitdiff
path: root/mk/build.mk
AgeCommit message (Collapse)Author
2016-06-19remove unused variablesWaldemar Brodkorb
FETCHCMD is added to prereq.mk, so ADK_WGET_TIMEOUT is unused nowadays.
2016-04-04allow to preset binfmtWaldemar Brodkorb
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-08remove make.log on distcleanWaldemar Brodkorb
2016-01-11fix preseeding libc git versionWaldemar Brodkorb
2016-01-07allow to choose Xtensa targetWaldemar Brodkorb
2015-12-26allow to pregen libc versionWaldemar Brodkorb
2015-12-26fix pregen of configWaldemar Brodkorb
2015-12-22fix mksh testWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2015-12-21finetune loggingWaldemar Brodkorb
2015-12-15remove make.log on distcleanWaldemar Brodkorb
2015-12-14forgot another important dir for old toolchainsWaldemar Brodkorb
2015-12-14be sure to create staging target /usr/lib, remove duplicate HOSTCCWaldemar 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-11Revert "rework prereq check"Waldemar Brodkorb
This reverts commit fba2ff31928b18364c1934654169806f5c800e23.
2015-12-11rework prereq checkwbx
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2015-12-08fixup make checkWaldemar Brodkorb
2015-12-02simplify toolchain buildingWaldemar Brodkorb
Buildroot uses the two-stage mechanism since a while. This reduces the build time a lot. Instead of three stages, we just use the two-stage build. The benefit is that the C library do not need to be rebuild and one gcc compile is obsolete. Tested with embedded-test.sh. There is one unresolved problem, tile toolchain building is broken.
2015-11-12prepare for mksh testsuite runsWaldemar Brodkorb
2015-11-01rebuild base-files on any ADK_RUNTIME symbol changeWaldemar Brodkorb
2015-10-23fix detection of Host OSWaldemar Brodkorb
2015-10-22disable ssltunnel for bulk builds, no libressl supportWaldemar Brodkorb
2015-10-22ssl: rework ssl supportWaldemar Brodkorb
Use libressl as default, where SSL is required. Allow to choose openssl. Disable SSL where not strictly required to build.
2015-10-22remove samba3 support, we try to only support one version per packageWaldemar Brodkorb
2015-10-21preselection of symbolsWaldemar Brodkorb
2015-10-11remove already disabled uClibc support, fix wrong PKG_LIBC_DEPENDSWaldemar Brodkorb
2015-09-07submodel choice for qemu targets got removedWaldemar Brodkorb
2015-08-31prefix VERSION symbols, otherwise they will get into kernel .configWaldemar Brodkorb
2015-06-13a lot of bugfixes and package updatesWaldemar Brodkorb
2015-06-04fix backup host urlWaldemar Brodkorb
2015-05-31always compile file for testing, no need for make in uClibc-ng testWaldemar Brodkorb
2015-05-29fix FLOAT selection for Qemu-PPC, add Qemu Model preselectionWaldemar Brodkorb
2015-05-0432076 isn't right, use _ for the regexWaldemar Brodkorb
2015-05-03fix overlapping regexWaldemar Brodkorb
2015-05-02create HOST_CFLAGS/HOST_CXXFLAGS dynamically for static-libgcc systemsWaldemar Brodkorb
2015-05-01use HOST_CFLAGS for Kconfig and adk toolsWaldemar Brodkorb
2015-04-26remove -C $(LINUX_DIR) from OPTS variableWaldemar Brodkorb
Otherwise toolchain only compiling of gcc is failing while trying to install header files.
2015-04-21fix some build failuresWaldemar Brodkorb
2015-03-29use separate dirs for soft-float/hard-float toolchainsWaldemar Brodkorb
2015-03-27update to 3.18.10, sync rpi patchWaldemar Brodkorb
Rpi-Kernel includes the rpi-proto driver now. Always enable device-tree support for raspberry pi /pi2 as most of the new drivers will not work without.
2015-03-23allow to select CPU flavour for toolchain building via envWaldemar Brodkorb
Add a more generic way to define CPU flavours for Toolchain building. Add Cortex-A8 definition. Move Thumb symbol around.
2015-03-15remove ADDON featureWaldemar Brodkorb
2015-03-07fix regex matching. hard/soft is in the middleWaldemar Brodkorb
2015-03-07allow to set target float via environmentWaldemar Brodkorb
2015-03-06sync with upstream firmwarei, omxplayer and userlandWaldemar Brodkorb
Rename packages, as bcm2836 is also supported now.
2015-03-01match exactlyWaldemar Brodkorb
2015-02-28extend KERNEL_MAKE_OPTS by the target directoryPhil Sutter
This change is straightforward but in toolchain/kernel-headers/Makefile which seems to be called before ${BUILD_DIR}/linux symlink exists. Therefore define LINUX_DIR to the correct value in between inclusion of vars.mk (through rules.mk) and kernel-vars.mk.
2015-02-26Revert "always use .defconfig, otherwise make menuconfig and ADK_APPLIANCE ↵Waldemar Brodkorb
does not work" This reverts commit f7fb97a8e2160a791487f5a2cd9f744b04cf39bb.
2015-02-25always use .defconfig, otherwise make menuconfig and ADK_APPLIANCE does not workWaldemar Brodkorb
2015-02-12rebuild bootloader package on relevant config changesWaldemar Brodkorb