summaryrefslogtreecommitdiff
path: root/rules.mk
AgeCommit message (Collapse)Author
2017-02-09add dual-boot / fwupdate for systems with grub-supportWaldemar Brodkorb
2017-02-06add different genimage configs for PC Bios and EFIWaldemar Brodkorb
2016-12-11rework git kernel infrastructureWaldemar Brodkorb
Module loading was broken, use stable hashes and add kernel versions to allow kernel module loading. Convert kinetis-k70 to use new infrastructure.
2016-11-24add special repository short namesWaldemar Brodkorb
They can be used elsewhere in the code when this kernels are used or need special handling. Bug reported by Diez for RPI kernels.
2016-11-17git kernel handlingWaldemar Brodkorb
Simplify and allow to use git tags, branches, hashes and head. Convert existing usage of git kernel repositories to this.
2016-09-24locale: rework locale support (not fully ready)Waldemar Brodkorb
2016-07-11rework kernel patches for rpi/imx6Waldemar Brodkorb
Instead of trying to recreate patchsets for newer kernels just use upstream non-official kernel trees. Working on the patchsets does take to much time. You can choose between hardware specific github tree and defconfig or upstream kernel and OpenADK miniconfig.
2016-06-20show dltool (curl/wget) errors when make package=foo clean package ↵Waldemar Brodkorb
ADK_VERBOSE=1 is used
2016-06-19remove unused variablesWaldemar Brodkorb
FETCHCMD is added to prereq.mk, so ADK_WGET_TIMEOUT is unused nowadays.
2016-04-04add binfmt suffix for bfinWaldemar 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 ;)
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-09-12allow to use a defconfig, enable always experimental support in kernelWaldemar Brodkorb
2015-08-31prefix VERSION symbols, otherwise they will get into kernel .configWaldemar Brodkorb
2015-07-27add some basic support for emcraft kinetisWaldemar Brodkorb
2015-07-13add basic toolchain support for or1k arch with musl libcWaldemar Brodkorb
2015-05-01add cpu type for different toolchains with the same architectureWaldemar Brodkorb
2015-03-02add version string, will be used laterWaldemar Brodkorb
2015-02-25strip variableWaldemar Brodkorb
2015-02-23rework gcc optimization flagsWaldemar Brodkorb
gcc uses for some architectures --with-cpu, with others --with-arch. Add two different symbols for that.
2015-02-22rework CFLAGS and default gcc --with-cpu usageWaldemar Brodkorb
For better maintenance, rework hardware model specific CFLAGS. Work in progress, needs moe testing.
2015-02-19add some basic infrastructure for hppa/parisc toolchain buildingWaldemar Brodkorb
2015-02-09add basic support for raspberry pi2Waldemar Brodkorb
Introduce new board symbols for embedded systems, which use the similar board as basis. As for example raspberry pi and raspberry pi2. And some more updates: Update binutils to 2.25, set gcc 4.9.2 as default. Update glibc to 2.21, set as default. Update gdb to 7.8.2. Update kodi to latest release.
2015-02-06rework CMDLINE generation regarding serial/vgaWaldemar Brodkorb
Use one place and not hard coded for each device. There exist use cases where on a specific device like raspberry pi, not the default 115200 baud rate is used.
2014-12-19use ADK_VERBOSE to be more consistent.Waldemar Brodkorb
2014-08-31add support for bfin toolchain creationWaldemar Brodkorb
2014-08-12add support for xtensa dc233c variant. use uImage, which works with a ↵Waldemar Brodkorb
patched Qemu. Thanks to Max Filippov for fixes and ideas.
2014-08-05translate aarch64 to arm64 for kernelWaldemar Brodkorb
2014-08-01allow to use git version for C library.Waldemar Brodkorb
2014-06-21s/TOPDIR/ADK_TOPDIR/Waldemar Brodkorb
to avoid namespace collisions in some packages, rename TOPDIR. Sorry you need to make cleandir && make prereq && make
2014-06-13fix ppc64/mips64 ADK_TARGET_KARCH varWaldemar Brodkorb
2014-06-08use ADK_TARGET_KARCH for kernel stuff, fix ppc buildWaldemar Brodkorb
2014-06-02refactor CPU_ARCH/ARCH variablesWaldemar Brodkorb
After Joerg asked me about the difference between ADK_TARGET_ARCH and ADK_TARGET_CPU_ARCH I recognized many duplication of variables for this information. These patch fixes this up. Use make cleandir && make menuconfig && make
2014-05-23environment vars not usedWaldemar Brodkorb
2014-03-23make optimiztion compiler flags configurable, default -Os -pipeWaldemar Brodkorb
2014-03-20add fpu settings, fix symlinksWaldemar Brodkorb
2014-03-19add ADK_RUNTIME_CONSOLE_SERIAL_DEVICE, minor cleanups while thereWaldemar Brodkorb
2014-03-08rename DISTDIR, make it configurable in the menuWaldemar Brodkorb
2014-03-04try to add support for graphical qemuWaldemar Brodkorb
2014-03-01move target/tools to tools, use ADK_HOST_NEED variable to build a tool, when ↵Waldemar Brodkorb
required. Add archivers to tools, remove prereq checks for them. Rename host_ dir in preparation for shared openadk source via nfs/smb from different host systems. Make some abi cleanup
2014-02-26rework arm support, add qemu arm model vexpress for cortex-a9 emulation ↵Waldemar Brodkorb
(hard float)
2014-02-03make wget timeout configurableWaldemar Brodkorb
2013-12-28convert microblaze to miniconfig kernel config generation, add support for ↵Waldemar Brodkorb
squashfs and jffs2 rootfs for qemu-microblaze, add support for both machine emulations
2013-11-08enable variable kernel target name, qemu-mips targets use vmlinuzWaldemar Brodkorb
2013-09-29bring qemu-sh and aranym-m68k in shapeWaldemar Brodkorb
2012-10-10fix 32 Bit multilib buildsWaldemar Brodkorb
2012-10-05make libgcc static for busybox, make librt separate package, remove ↵Waldemar Brodkorb
dependency to libtirpc, disable inetd, add preliminary multilib support (not working right now),enable 32/64 bit kernel support for x86_64