summaryrefslogtreecommitdiff
path: root/mk/image.mk
AgeCommit message (Collapse)Author
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-31fix initramfs generationWaldemar Brodkorb
2015-12-27more xtensa improvementsWaldemar Brodkorb
2015-12-27various microblaze related fixes add back some missing patchesWaldemar 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-11-27bfin: allow newer gcc and kernel to be build, ICE with uClibc-ng regex, so ↵Waldemar Brodkorb
disable it for now.
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-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-08-25fix kernel reconfigure, new config symbols requiredWaldemar Brodkorb
2015-05-06add APPLIANCE Version, add githash fileWaldemar 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-02-28toolchain: add cross prelinking tool from yoctoproject and hook it into ↵Phil Sutter
build system
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.
2014-12-26use XZ instead of GZIP compression. remove old installer scriptsWaldemar Brodkorb
2014-12-19use the new concept of appliancesWaldemar Brodkorb
- Sync with Kernel upstream Kconfig - use new feature visible - add a patch for select on choices https://lkml.org/lkml/2011/2/17/379 - rename ADK_LINUX -> ADK_TARGET_ARCH - remove package collection feature - add appliance feature to define a appliance more complete
2014-09-04install sash as /bin/sh and remove special handlingThorsten Glaser
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2014-08-26add sash, simpleinit and a uclibc config for nonmmu caseWaldemar Brodkorb
2014-08-11fix qemu-system-aarc64 bootupWaldemar Brodkorb
2014-07-28add some basic infrastructure for qemu-system-m68kWaldemar Brodkorb
Qemu emulates a Coldfire Evaluation board without MMU. As that is the first non-MMU platform in OpenADK I added ADK_TARGET_UCLINUX. Mksh can not be used for non-MMU, because it requires fork() for job control and other things. We use hush here. non-MMU support in uClibc does not have shared library support. Kernel does not start yet. So no runtime testing, but at least coldfire toolchain can be tested with uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2014-07-25disable microblaze for uClibc*, fix flash boot related issuesWaldemar Brodkorb
2014-06-30add support for lz4 compressed kernel and initramfsWaldemar Brodkorb
2014-06-27rework service startup, do not hardcode into postinst scriptsWaldemar 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-08avoid error messageWaldemar Brodkorb
2014-06-07/usr/lib might be emptyWaldemar 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-31allow to disable tcp fastopen, so that AES is not required to builtin in the ↵Waldemar Brodkorb
kernel
2014-05-29rework directory namesWaldemar Brodkorb
Sorry, need to change this again. Toolchain and target directories can not be usefully shared between systems with the same cpu arch. There are to many optimizations for gcc supplied libraries involved. Simplify even for qemu targets.
2014-05-24remove suid bit from busybox, try experimental ping patch from John SpencerWaldemar Brodkorb
2014-05-24optimize and reduce codeWaldemar Brodkorb
2014-05-23fix symbol renaming bugsWaldemar Brodkorb
2014-05-23resolve merge conflictWaldemar Brodkorb
2014-05-23split targethelp from install targetWaldemar Brodkorb
cleanup target/*/Makefile stuff.
2014-05-18add shell script to install adk on flash/blockWaldemar Brodkorb
2014-05-16move adkconfig.gz generation and adkversion to mk/image.mk, otehrwise old ↵Waldemar Brodkorb
data is included
2014-04-13fix rebuild of initramfs list if package choice is changedWaldemar Brodkorb
2014-04-05fix iso buildingWaldemar Brodkorb
2014-04-01do not fail when /usr/lib is emptyWaldemar Brodkorb
2014-03-31use gnu find on darwinWaldemar Brodkorb
2014-03-30rework hosttools building, add tools into package stuffWaldemar Brodkorb
2014-03-25Merge branch 'master' of git+ssh://openadk.org/git/openadkWaldemar Brodkorb
2014-03-25add support for x86_64 toolchain with 32 bit abiWaldemar Brodkorb
2014-03-24fix when overwrite via extra dirWaldemar Brodkorb
2014-03-23fix jffs2 boot for qemu-microblaze, CMDLINE_FORCE requiredWaldemar Brodkorb
2014-03-22a bunch of microblaze fixesWaldemar Brodkorb
2014-03-18fix initramfs generation, use KERNEL_MAKE_OPTSWaldemar Brodkorb
2014-03-16remove ADK_TARGET_WITH from qemu configs, is more dynamic. remove device ↵Waldemar Brodkorb
node creation for initramfs.