summaryrefslogtreecommitdiff
path: root/target/x86/Makefile
AgeCommit message (Collapse)Author
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-11make vbox target usable againWaldemar Brodkorb
2014-06-08be consistent, do not use - in rootfs namesWaldemar Brodkorb
2014-06-08enable audio support for qemu-x86/qemu-x86_64Waldemar 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-31remove duplicate qemu argsWaldemar Brodkorb
2014-05-23fix symbol renaming bugsWaldemar Brodkorb
2014-05-23split targethelp from install targetWaldemar Brodkorb
cleanup target/*/Makefile stuff.
2014-04-30fix 32 bit userland with 64 bit kernel supportWaldemar Brodkorb
after onger discussion with Phil, I understood his old patches and fixed support for x86 systems with 32 Bit userland and 64 Bit kernel by using a biarch toolchain instead of a multilib one.
2014-04-13add pregenerated core.img, there is no portable way to do it right nowWaldemar Brodkorb
2014-04-10try to use new grub2Waldemar Brodkorb
2014-04-07add submenu for qemu configurationWaldemar Brodkorb
2014-03-18use archive without kernelWaldemar Brodkorb
2014-03-17fix boot from disk for qemu targetsWaldemar Brodkorb
2014-03-08some work on qemu with graphicWaldemar Brodkorb
2014-02-26disable hostfwd in qemu call, otherwise it conflicts running multiple qemusWaldemar Brodkorb
2014-02-18use bin directory for host binaries only, use new firmware directory for the ↵Waldemar Brodkorb
resulting firmware
2013-12-16small fixes for iso targetWaldemar Brodkorb
2013-12-15need to merge third patch from Phil manually. disable on non Linux hostsWaldemar Brodkorb
2013-11-07update valgrind to latest upstream version, strlen is not a function in ↵Waldemar Brodkorb
ld.so in latest glibc/eglibc setups, just remove the redirect for now. enable automatic building of debug subpackages. update TODO
2013-04-29update to latest upstreamWaldemar Brodkorb
2012-08-17enable create.sh from Thorsten, fixes cfgfs issuesWaldemar Brodkorb
2012-07-31add support for virtualbox emulatorWaldemar Brodkorb
2012-07-11use genext2fs on MacOS X to create qemu imagesWaldemar 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-08-31fix qemu-i686 network/block configWaldemar Brodkorb
2010-12-31 should be without path, just the name of the kernelWaldemar Brodkorb
2010-12-30rework architecture / embedded systems conceptWaldemar Brodkorb
Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;)
2010-11-26implement the concept of target choice by embedded system or architectureWaldemar Brodkorb
you can now choose between specific embedded systems like PC Engines ALIX boards, Foxboard, .. or between generic architecture support like x86, x86_64, mips, ... This does reduce the overhead of duplicate configuration files in target directory. Now qemu, toolchain and ibm x40 support is combined in one target directory target/x86. Distinguishing between hardware profiles happens via menu based configuration. (CPU choice for kernel, CFLAGS for package building, ..). We will see if this is the right direction.
2010-11-21archive rootfs includes kernel in tarballWaldemar Brodkorb
2010-11-20do not build GRUB 2Thorsten Glaser
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2010-11-18optimize shuttle and ibmx40 hardware profileWaldemar Brodkorb
2010-11-18convert qemu for x86/x86_64 to hardware profilesWaldemar Brodkorb
2010-11-14consolidate x86/x86_64 supportWaldemar Brodkorb
use hardware profiles, instead of extra target dirs. fix dependencies.