summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)Author
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-09quirks needed globallyWaldemar Brodkorb
2015-12-08fixup make checkWaldemar Brodkorb
2015-12-06install config.sub and config.guess alwaysWaldemar Brodkorb
We need it for toolchain components. Add latest config.sub/config.guess from upstream with a minor patch for sh2eb detection.
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-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-30linux: update 4.1.x to latest stable upstream versionWaldemar Brodkorb
2015-11-29h8300: no sep-data support for h8/300Waldemar Brodkorb
2015-11-29bfin: fix elf2flt CFLAGS/CXXFLAGSWaldemar Brodkorb
2015-11-27bfin: allow newer gcc and kernel to be build, ICE with uClibc-ng regex, so ↵Waldemar Brodkorb
disable it for now.
2015-11-23gcc git doesn't use text-section-literalsWaldemar Brodkorb
2015-11-13bump Linux 4.2.x kernelWaldemar Brodkorb
2015-11-12linux: add support for version 4.3Waldemar Brodkorb
2015-11-12prepare for mksh testsuite runsWaldemar Brodkorb
2015-11-01rebuild base-files on any ADK_RUNTIME symbol changeWaldemar Brodkorb
2015-11-01minor number is wrong for ttyAMAWaldemar Brodkorb
2015-11-01add ttyAMA/ttySCWaldemar Brodkorb
2015-11-01default to static device nodes for noMMU systems, add basic device nodes to ↵Waldemar Brodkorb
initramfs
2015-10-28update to latest 4.2.x kernelWaldemar Brodkorb
2015-10-28qemu-system-s390: add basic support, only virtio-net does not work as expected.Waldemar Brodkorb
2015-10-23or1k: allow to boot linux kernel, fix compression none modeWaldemar Brodkorb
2015-10-23fix detection of Host OSWaldemar Brodkorb
2015-10-23arc: add support for free nSIM simulator, thx to Alexey for hints to get it ↵Waldemar Brodkorb
running
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-10-07bump linux kernelsWaldemar Brodkorb
2015-09-15LIBTOOLIZE is used sometimes in packages, remove -qWaldemar Brodkorb
2015-09-12allow to use a defconfig, enable always experimental support in kernelWaldemar 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-08-30skip building and installing kmod packages if using udevBALATON Zoltan
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
2015-08-27use HOST_PATH for modinfo, remove LOCALVERSION overwriteWaldemar Brodkorb
2015-08-25fix kernel reconfigure, new config symbols requiredWaldemar Brodkorb
2015-08-25update 4.1.x to latestWaldemar Brodkorb
2015-08-20we need to check if any kernel modules are used, otherwise build breaksWaldemar Brodkorb
2015-08-03rework kernel module infrastructureWaldemar Brodkorb
Instead of maintaining mk/modules.mk which defines compilations of related kernel modules to pack together into a single package, follow an automatic approach: For every kernel module found in the modules installation directory, create a single package. There are a few caveats to cover: === Module Loading Order === Upon bootup, module loading is ordered based on the number-prefixed files in /etc/modules.d/. The correct number was previously managed in mk/modules.mk on a per-collection basis. The new approach is to have levels which modules are to be assigned to. Level 0 contains modules with no dependencies at all. Level 1 contains modules which have only level 0 dependencies, and so on. This information is determined at compile-time by make-module-ipkgs.sh. === Module Installation to Target RootFS === Since module packages are created automatically from the modules the script finds, ADK build system has no knowledge about the connection between what the user has selected in menuconfig and the actual module packages. Therefore the earlier approach to install selected packages into rootfs does not hold anymore. Instead, use wildcards to find all packages in firmware directory prefixed by 'kmod-' and install them all (hopefully doing the right thing). === Kernel Version === KERNEL_VERSION now contains KERNEL_RELEASE already By creating a localversion file, make KERNEL_RELEASE part of the kernel's version number (so KERNEL_VERSION is correct in most situations) Signed-off-by: Phil Sutter <phil@nwl.cc>
2015-08-02remove non-lts kernelWaldemar Brodkorb
2015-08-01remove testkernelWaldemar Brodkorb
2015-08-01update to 4.1.3, which will be the base for stable branchWaldemar Brodkorb
2015-07-30uImage is mandatory, add LOADADDRWaldemar Brodkorb
2015-07-27handle git kernels in a better wayWaldemar Brodkorb