summaryrefslogtreecommitdiff
path: root/mk/image.mk
AgeCommit message (Collapse)Author
2017-09-23h8300: use elf2flt from ysato, upstream elf2flt still requires a small patchWaldemar Brodkorb
2017-04-23fix build on CygwinWaldemar Brodkorb
2017-04-23Fix UBIFS rootfs support for rb532Phil Sutter
This fixes a typo and adds the missing ubinize.cfg. Fixes: 2d7388bc334dd ("Implement UBIFS rootfs support")
2017-03-21rework kernel build process, changes to kernelconfig are reflected nowWaldemar Brodkorb
Cleanup the package directory which is always used as intermediate step to build in the default some xz compressed archives with all package data. While reconfiguring the kernel mini.config or custom config changes to the firmware did not happen always. Some targets where redundant and the install step tries to compile, too. Be more quiet with any cpio usage.
2017-03-17Implement UBIFS rootfs supportPhil Sutter
This implements UBIFS rootfs, enables it for mips targets and adds the necessary settings for rb532. Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-03-17mk/image.mk: Fix calling mkfs.jffs2Phil Sutter
This command does not reside in ${STAGING_HOST_DIR}/usr/bin (anymore?), also setting PATH='${HOST_PATH}' prior to just calling the command without path is more elegant in my opinion. Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-02-23fallback to generic genimage config, the size of partition and filesystem ↵Waldemar Brodkorb
still need to be made configurable
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-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-19fix initramfs generation for kinetis k70Waldemar Brodkorb
2016-12-13sh2-nommu/j2: add better support and add required patches from musl-cross-makeWaldemar Brodkorb
2016-11-27finetune systemd/sysv integration, use /var tmpfs mountpointWaldemar Brodkorb
2016-11-25finalize systemd as alternative init systemWaldemar Brodkorb
Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems.
2016-11-13grub: rework package, add mips support, update to latest gitWaldemar Brodkorb
2016-10-06add liberation truetype font package and add mkfontscale check, complete the ↵Waldemar Brodkorb
other font checks
2016-09-23add support for permission fixups when using genimageWaldemar Brodkorb
Add suid-bit to Xorg as an example. Create simple *.perm files with relative path to the files. You can use any command available on the host. (f.e. chmod/chown)
2016-09-14beaglebone-black: some fixes, no serial output yetWaldemar Brodkorb
2016-09-13uefi boot dislikes size in genimage, use a dummy image for cfgfs, add ↵Waldemar Brodkorb
dependencies
2016-09-10genimage: add better supportWaldemar Brodkorb
2016-09-05add some basic genimage supportWaldemar Brodkorb
2016-06-01add compiler and linker information to firmwareWaldemar 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-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