summaryrefslogtreecommitdiff
path: root/target/sh/Makefile
AgeCommit message (Collapse)Author
2015-12-07more Numato Mimas v2 J2 bits and bytesWaldemar Brodkorb
2015-12-07sh: add support for numato mimas v2Waldemar 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>
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-08be consistent, do not use - in rootfs namesWaldemar 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-24add correct network parametersWaldemar Brodkorb
2014-05-23fix symbol renaming bugsWaldemar Brodkorb
2014-05-23split targethelp from install targetWaldemar Brodkorb
cleanup target/*/Makefile stuff.
2014-04-23fix usb keyboard for qemu-system-sh4Waldemar Brodkorb
2014-04-07grub2 by default offWaldemar Brodkorb
2014-03-18use archive without kernelWaldemar Brodkorb
2014-03-17fix boot from disk for qemu targetsWaldemar Brodkorb
2014-03-08add some usb hid stuff for qemu-sh, you _must_ start qemu-sh with -serial ↵Waldemar Brodkorb
null -serial stdio. otherwise no output. thx to aboriginal linux
2014-03-04try to add support for graphical qemuWaldemar Brodkorb
2014-02-27add support for sh and muslWaldemar Brodkorb
2014-02-18use bin directory for host binaries only, use new firmware directory for the ↵Waldemar Brodkorb
resulting firmware
2013-10-01add description for disk bootupWaldemar Brodkorb
2012-01-15mk/image.mk: improve and simplify initramfs generationPhil Sutter
Using the kernel tools is a lot better than calling cpio ourselfs, as this way we can have it create device nodes for us. So no need to reopen /dev/console and things like that. While here, fix also initramfs compression (untested), as in my experience the kernel drops all symbols regarding compression from it's .config in the first compile phase. Probably one should make the actual compression algorithm configurable (and ideally depending on what the kernel supports for the given architecture). This is a rough hack based on what I'm using in the custom viprinux build file, so something like this is already running somewhere. ;)
2011-09-02add basic support for qemu-system-sh4Waldemar Brodkorb