Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | toolchain/kernel-headers: don't use TARGET_CFLAGS | Kevin Darbyshire-Bryant | 2019-10-16 | 1 | -4/+4 |
| | | | | | | | | | | | Kernel utilities (e.g. scripts/kconfig/conf) are being built to run on the host system at this stage, therefore it makes no sense to use the target system CC flags. Use HOSTCFLAGS instead While we're here rename KMAKE macro to HOST_KMAKE to make it even more obvious that we're building for host. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | ||||
* | kernel-headers: adjust PKG_ variables when using git clone method | Alexandru Ardelean | 2018-01-27 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | When using an external git clone for the kernel repo, the build would fail because the build won't download [via git] the kernel tarball. This is because the `toolchain/kernel-headers` assumes that the kernel would get downloaded via normal HTTP. The reason for this is the `HostBuild` rule, which calls the `Download/default` rule. To use the `Download/default` we just need to conditionally adjust some PKG_ vars. We can safely use `LINUX_VERSION` as it was already adjusted in the `kernel-version.mk` to avoid collisions with other tarballs. Fixes: https://bugs.openwrt.org/index.php?do=details&task_id=503 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> | ||||
* | build: use KERNEL_MAKE_FLAGS for kernel file compilations | Karl Vogel | 2017-10-29 | 1 | -6/+2 |
| | | | | | | | The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS. Make use of this variable for kernel makefiles. Signed-off-by: Karl Vogel <karl.vogel@gmail.com> | ||||
* | build: remove old kernel-headers build directories | Felix Fietkau | 2017-06-16 | 1 | -0/+1 |
| | | | | | | Saves space after updating kernel versions Signed-off-by: Felix Fietkau <nbd@nbd.name> | ||||
* | treewide: clean up download hashes | Felix Fietkau | 2016-12-16 | 1 | -1/+1 |
| | | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name> | ||||
* | Remove existing old link before creating a new one | Stefan Weil | 2016-07-25 | 1 | -1/+2 |
| | | | | | | | This is needed after a kernel update, otherwise the new link is written as linux/linux-$(LINUX_VERSION). Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | toolchain: remove obsolete kernel version check | Felix Fietkau | 2015-11-07 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47413 | ||||
* | toolchain: remove obsolete references to the cris architecture | Felix Fietkau | 2015-03-24 | 1 | -9/+0 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44964 | ||||
* | toolchain/kernel-headers: remove an obsolete patch directory | Felix Fietkau | 2015-03-17 | 1 | -24/+0 |
| | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44871 | ||||
* | toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+ | Jonas Gorski | 2014-12-01 | 1 | -0/+1 |
| | | | | | | | | | Kernel 3.15's asm.h includes eva-asm.h, so copy it also, else lzma-loader won't compile due to a missing include. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43460 | ||||
* | remove support for ubicom32 | Florian Fainelli | 2012-11-30 | 2 | -4861/+0 |
| | | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34432 | ||||
* | kernel: fix portability issues on the x86 specific relocs host tool, fixes ↵ | Felix Fietkau | 2012-07-20 | 1 | -0/+1 |
| | | | | | | build on mac os x SVN-Revision: 32783 | ||||
* | kernel-headers: Fix patch application for kernel-headers and a patch that ↵ | Daniel Dickinson | 2012-05-13 | 2 | -1/+25 |
| | | | | | | fixes exposure of a kernel-only data type (umode_t) to application layer which causes compile errors in ext2_fs.h using programs. SVN-Revision: 31697 | ||||
* | kernel-headers: fix compile error caused by wrong host include path when the ↵ | Felix Fietkau | 2011-08-05 | 1 | -11/+14 |
| | | | | | | toolchain is already built SVN-Revision: 27915 | ||||
* | kernel-headers: get rid of the arch/$(ARCH)/include/asm vs ↵ | Felix Fietkau | 2011-02-10 | 1 | -10/+6 |
| | | | | | | include/asm-$(ARCH) copying mess and stick to what the kernel is using SVN-Revision: 25443 | ||||
* | toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵ | Felix Fietkau | 2010-08-19 | 1 | -8/+8 |
| | | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK SVN-Revision: 22723 | ||||
* | remove support for building kernel headers with old kernels | Felix Fietkau | 2010-06-26 | 1 | -16/+3 |
| | | | | SVN-Revision: 21957 | ||||
* | fix syntax error | Mirko Vogt | 2010-06-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 21843 | ||||
* | make sure directory exists before copying into | Mirko Vogt | 2010-06-19 | 1 | -0/+1 |
| | | | | SVN-Revision: 21842 | ||||
* | toolchain/kernel-headers: simplify linux headers installation (remove legacy ↵ | Nicolas Thill | 2010-05-24 | 1 | -24/+9 |
| | | | | | | hacks, cleanup) SVN-Revision: 21567 | ||||
* | toolchain/kernel-headers: restore support for patches, needed for ubicom32 | Nicolas Thill | 2010-04-15 | 1 | -0/+1 |
| | | | | SVN-Revision: 20872 | ||||
* | fix kernel-headers build | Felix Fietkau | 2010-03-29 | 1 | -0/+1 |
| | | | | SVN-Revision: 20584 | ||||
* | fix kernel-headers build for uml | Florian Fainelli | 2010-03-14 | 1 | -1/+1 |
| | | | | SVN-Revision: 20203 | ||||
* | cleanup the 2.6.33 and later kernels kernel-headers installation | Florian Fainelli | 2010-03-03 | 1 | -5/+7 |
| | | | | SVN-Revision: 19962 | ||||
* | fix compilation w/ 2.6.33 | Florian Fainelli | 2010-03-01 | 1 | -0/+4 |
| | | | | SVN-Revision: 19933 | ||||
* | get rid of even more 2.6.28 stuff | Imre Kaloz | 2009-12-27 | 1 | -14723/+0 |
| | | | | SVN-Revision: 18953 | ||||
* | kernel-headers: add linux 2.6.30 headers for ubicom32 | Felix Fietkau | 2009-12-16 | 1 | -0/+4852 |
| | | | | SVN-Revision: 18792 | ||||
* | dump 2.6.25 support | Claudio Mignanti | 2009-10-02 | 1 | -34/+2 |
| | | | | SVN-Revision: 17816 | ||||
* | add a heavily cleaned up version of ubicom32 toolchain support | Felix Fietkau | 2009-08-21 | 2 | -0/+14732 |
| | | | | SVN-Revision: 17346 | ||||
* | install headers, fix foxboard-utils | Claudio Mignanti | 2009-07-03 | 1 | -3/+2 |
| | | | | SVN-Revision: 16661 | ||||
* | Fix kernel headers for cris (thanks hinkocevar) | Claudio Mignanti | 2009-04-08 | 1 | -10/+25 |
| | | | | SVN-Revision: 15153 | ||||
* | fix powerpc build (works for 2.4 and 2.6) | Ralph Hempel | 2009-03-01 | 1 | -6/+5 |
| | | | | SVN-Revision: 14707 | ||||
* | move common variables to a dedicated include file | Nicolas Thill | 2009-02-23 | 1 | -5/+1 |
| | | | | SVN-Revision: 14648 | ||||
* | kernel-headers: fix build error when run for the second time | Nicolas Thill | 2009-02-23 | 1 | -0/+1 |
| | | | | SVN-Revision: 14641 | ||||
* | build system refactoring in preparation for allowing packages to do ↵ | Felix Fietkau | 2009-02-22 | 1 | -48/+48 |
| | | | | | | host-build steps SVN-Revision: 14610 | ||||
* | cosmetic & coherency fixes | Nicolas Thill | 2009-02-03 | 1 | -1/+5 |
| | | | | SVN-Revision: 14397 | ||||
* | more kernel headers fixes for cris | Nicolas Thill | 2009-01-21 | 1 | -1/+16 |
| | | | | SVN-Revision: 14128 | ||||
* | move all arch fixups from Install to Prepare stage, so that fixed headers ↵ | Nicolas Thill | 2009-01-20 | 1 | -38/+31 |
| | | | | | | are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/ SVN-Revision: 14120 | ||||
* | fix missing ptrace.h needed to build final gcc | Nicolas Thill | 2009-01-12 | 1 | -1/+9 |
| | | | | SVN-Revision: 13995 | ||||
* | add support for alternative C libraries (currently only glibc/eglibc) other ↵ | Nicolas Thill | 2009-01-08 | 1 | -12/+66 |
| | | | | | | (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc) SVN-Revision: 13931 | ||||
* | The merge of ppc (32-bit headers) and powerpc (previously 64-bit only ↵ | Hamish Guthrie | 2008-10-09 | 1 | -3/+5 |
| | | | | | | headers) has now been completed, so it build breaks if asm-ppc headers directory does not exist - this should fix this problem without being invasive SVN-Revision: 12933 | ||||
* | fix up the asm includes location for .27 when building kernel headers | Felix Fietkau | 2008-09-29 | 1 | -0/+5 |
| | | | | SVN-Revision: 12802 | ||||
* | disable autorebuild for the toolchain, as it can easily lead to build breakages | Felix Fietkau | 2008-09-02 | 1 | -0/+1 |
| | | | | SVN-Revision: 12492 | ||||
* | remove ugly hack for etrax | John Crispin | 2008-05-03 | 1 | -8/+4 |
| | | | | SVN-Revision: 11026 | ||||
* | fix path to etrax patches (#3055) | Felix Fietkau | 2008-02-03 | 1 | -2/+2 |
| | | | | SVN-Revision: 10376 | ||||
* | *sigh* :P | Imre Kaloz | 2008-02-03 | 1 | -1/+1 |
| | | | | SVN-Revision: 10373 | ||||
* | Disabling use of libintl in kernel-headers. | Andy Boyett | 2007-12-26 | 1 | -0/+1 |
| | | | | SVN-Revision: 9935 | ||||
* | include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵ | Nicolas Thill | 2007-08-26 | 1 | -1/+0 |
| | | | | | | is always available SVN-Revision: 8494 | ||||
* | Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is ↵ | Florian Fainelli | 2007-08-11 | 1 | -1/+1 |
| | | | | | | deprecated) SVN-Revision: 8399 | ||||
* | fix kernel-headers download (#2179) | Felix Fietkau | 2007-08-07 | 1 | -7/+10 |
| | | | | SVN-Revision: 8373 |