summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/Makefile
AgeCommit message (Collapse)Author
2016-06-23linux: realtime patch breaks sparc v8, so change it to a conditional patch againWaldemar 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-27more xtensa improvementsWaldemar Brodkorb
2015-12-02simplify toolchain buildingWaldemar Brodkorb
Buildroot uses the two-stage mechanism since a while. This reduces the build time a lot. Instead of three stages, we just use the two-stage build. The benefit is that the C library do not need to be rebuild and one gcc compile is obsolete. Tested with embedded-test.sh. There is one unresolved problem, tile toolchain building is broken.
2015-10-17remove unneeded checkWaldemar 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>
2015-06-15fix download urlWaldemar 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-03-15remove ADDON featureWaldemar Brodkorb
2015-03-05add realtime linux preempt_rt patchWaldemar Brodkorb
Enable Kernel options for Realtime, HZ and HighRes Timer in menuconfig.
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.
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.
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-12-17convert dietnet patch to addon. should only be used with careWaldemar Brodkorb
2014-09-26add support for toolchain building for crisv32 architectureWaldemar Brodkorb
2014-07-22workaround for firmware filesWaldemar Brodkorb
2014-07-11make nfsroot for apu hopefully workingWaldemar Brodkorb
2014-07-04add basic support for pcengines apu, only usb boot tested.Waldemar Brodkorb
2014-06-28add fblogo patch as addon for 3.14/3.15Waldemar Brodkorb
2014-06-22fix TOPDIR variableWaldemar Brodkorb
2014-06-21overlay for linux kernelWaldemar 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-03fix patching of system specific patchesWaldemar 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-28fix patch logicWaldemar Brodkorb
2014-05-26hide addon patches, move yaffs2 to addon style patch-Waldemar Brodkorb
2014-05-26allow to disable kernel patchesWaldemar Brodkorb
2014-05-24remove 3.13 kernel, add generic kernel version symbolsWaldemar Brodkorb
2014-05-23fix kernel patchingWaldemar Brodkorb
2014-05-23discussed with phil, do not split kernel patches between kernel-headers and ↵Waldemar Brodkorb
kernel, can make issues
2014-05-05gnu sed no longer required, will be build as hosttoolWaldemar Brodkorb
2014-03-15fix kernel build on Darwin for x86 targetsWaldemar Brodkorb
relocs tool uses some kind of regular expression, which does not work with the provided one. Use pcre in this case. Rework KERNEL_MAKE_OPTS while here. Use it in kernel-header, too.
2014-03-10rename STAGING_DIR to STAGING_TARGET_DIR, since ADK_NATIVE is gone, there is ↵Waldemar Brodkorb
no difference
2014-03-01copy&paste is evilWaldemar Brodkorb
2014-03-01remove armeb, no hardware, no emulator to test, add armhf instead. fix some ↵Waldemar Brodkorb
toolchain archive creation issues, remove unneeded files before packaging.
2014-02-09fix openjdk7 toolchain workaround, add symlinks to reduce size of toolchainsWaldemar Brodkorb
2014-01-16good bye cris, hardware is eol, latest toolchain is broken, qemu emulator ↵Waldemar Brodkorb
support is bad, kernel needs patches for serial and network
2014-01-08remove LINUX_HEADER_DIRWaldemar Brodkorb
2013-10-11fix cris buildWaldemar Brodkorb
2012-10-09enable multilib support for mipsWaldemar Brodkorb
2012-10-08finetune multilib support a lot, cleanup eglibc/glibc Makefiles while thereWaldemar Brodkorb
2012-10-07support for 32/64 x86_64 multilib with eglibcWaldemar Brodkorb
2011-12-02remove ocf support, broken in my setupWaldemar Brodkorb
2011-03-13add a lot of new devel subpackages and fix native builds of packagesWaldemar Brodkorb
2011-01-25more HOSTCC eliminationWaldemar Brodkorb
2011-01-10add LTO support to toolchain settings. Cleanup SYSROOT mess.Waldemar Brodkorb
- just use on sysroot directory for toolchain. - add missing patches from previos commit. (rpath/cflags cleanup)
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 ;)
2009-12-19add more mirbsd compatibility patchesWaldemar
2009-12-11make iproute compilable on FreeBSD hostWaldemar Brodkorb
make an extra linux-headers dir in STAGING_DIR for special cases, where host gcc is used, but kernel headers from Linux are needed. Move GNU make specific export to GNUMakefile.
2009-12-06fix qemu-x86_64 image, get rid of duplicat include dirWaldemar Brodkorb
- fix image build for different root filesystems - get rid of duplicate symlink to include dir - finetune mpd config file