aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: kernel-headers: kernel Git tree mirror hashPetr Štetiar2020-11-271-0/+1
| | | | | | Allow setting of mirror hash for Git kernel tree. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* toolchain: kernel-headers: fix check target for kernel Git treePetr Štetiar2020-11-271-2/+9
| | | | | | | | | | | | | Currently the check target fails if the kernel Git tree is used: $ make toolchain/kernel-headers/{download,check} make[2]: Entering directory 'toolchain/kernel-headers' Makefile:105: *** ERROR: Unknown pack format for file openwrt/tmp/dl/. Stop. make[2]: Leaving directory 'toolchain/kernel-headers' toolchain/Makefile:100: recipe for target 'toolchain/kernel-headers/check' failed Signed-off-by: Petr Štetiar <ynezz@true.cz>
* toolchain/kernel-headers: don't use TARGET_CFLAGSKevin Darbyshire-Bryant2019-10-161-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 methodAlexandru Ardelean2018-01-271-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 compilationsKarl Vogel2017-10-291-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 directoriesFelix Fietkau2017-06-161-0/+1
| | | | | | Saves space after updating kernel versions Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-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 oneStefan Weil2016-07-251-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 checkFelix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47413
* toolchain: remove obsolete references to the cris architectureFelix Fietkau2015-03-241-9/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44964
* toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+Jonas Gorski2014-12-011-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 ubicom32Florian Fainelli2012-11-301-9/+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 Fietkau2012-07-201-0/+1
| | | | | | build on mac os x SVN-Revision: 32783
* kernel-headers: Fix patch application for kernel-headers and a patch that ↵Daniel Dickinson2012-05-131-1/+1
| | | | | | 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 Fietkau2011-08-051-11/+14
| | | | | | toolchain is already built SVN-Revision: 27915
* kernel-headers: get rid of the arch/$(ARCH)/include/asm vs ↵Felix Fietkau2011-02-101-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 Fietkau2010-08-191-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 kernelsFelix Fietkau2010-06-261-16/+3
| | | | SVN-Revision: 21957
* fix syntax errorMirko Vogt2010-06-201-1/+1
| | | | SVN-Revision: 21843
* make sure directory exists before copying intoMirko Vogt2010-06-191-0/+1
| | | | SVN-Revision: 21842
* toolchain/kernel-headers: simplify linux headers installation (remove legacy ↵Nicolas Thill2010-05-241-24/+9
| | | | | | hacks, cleanup) SVN-Revision: 21567
* toolchain/kernel-headers: restore support for patches, needed for ubicom32Nicolas Thill2010-04-151-0/+1
| | | | SVN-Revision: 20872
* fix kernel-headers buildFelix Fietkau2010-03-291-0/+1
| | | | SVN-Revision: 20584
* fix kernel-headers build for umlFlorian Fainelli2010-03-141-1/+1
| | | | SVN-Revision: 20203
* cleanup the 2.6.33 and later kernels kernel-headers installationFlorian Fainelli2010-03-031-5/+7
| | | | SVN-Revision: 19962
* fix compilation w/ 2.6.33Florian Fainelli2010-03-011-0/+4
| | | | SVN-Revision: 19933
* dump 2.6.25 supportClaudio Mignanti2009-10-021-34/+2
| | | | SVN-Revision: 17816
* add a heavily cleaned up version of ubicom32 toolchain supportFelix Fietkau2009-08-211-0/+9
| | | | SVN-Revision: 17346
* install headers, fix foxboard-utilsClaudio Mignanti2009-07-031-3/+2
| | | | SVN-Revision: 16661
* Fix kernel headers for cris (thanks hinkocevar)Claudio Mignanti2009-04-081-10/+25
| | | | SVN-Revision: 15153
* fix powerpc build (works for 2.4 and 2.6)Ralph Hempel2009-03-011-6/+5
| | | | SVN-Revision: 14707
* move common variables to a dedicated include fileNicolas Thill2009-02-231-5/+1
| | | | SVN-Revision: 14648
* kernel-headers: fix build error when run for the second timeNicolas Thill2009-02-231-0/+1
| | | | SVN-Revision: 14641
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-48/+48
| | | | | | host-build steps SVN-Revision: 14610
* cosmetic & coherency fixesNicolas Thill2009-02-031-1/+5
| | | | SVN-Revision: 14397
* more kernel headers fixes for crisNicolas Thill2009-01-211-1/+16
| | | | SVN-Revision: 14128
* move all arch fixups from Install to Prepare stage, so that fixed headers ↵Nicolas Thill2009-01-201-38/+31
| | | | | | are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/ SVN-Revision: 14120
* fix missing ptrace.h needed to build final gccNicolas Thill2009-01-121-1/+9
| | | | SVN-Revision: 13995
* add support for alternative C libraries (currently only glibc/eglibc) other ↵Nicolas Thill2009-01-081-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 Guthrie2008-10-091-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 headersFelix Fietkau2008-09-291-0/+5
| | | | SVN-Revision: 12802
* disable autorebuild for the toolchain, as it can easily lead to build breakagesFelix Fietkau2008-09-021-0/+1
| | | | SVN-Revision: 12492
* remove ugly hack for etraxJohn Crispin2008-05-031-8/+4
| | | | SVN-Revision: 11026
* fix path to etrax patches (#3055)Felix Fietkau2008-02-031-2/+2
| | | | SVN-Revision: 10376
* *sigh* :PImre Kaloz2008-02-031-1/+1
| | | | SVN-Revision: 10373
* Disabling use of libintl in kernel-headers.Andy Boyett2007-12-261-0/+1
| | | | SVN-Revision: 9935
* include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵Nicolas Thill2007-08-261-1/+0
| | | | | | is always available SVN-Revision: 8494
* Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is ↵Florian Fainelli2007-08-111-1/+1
| | | | | | deprecated) SVN-Revision: 8399
* fix kernel-headers download (#2179)Felix Fietkau2007-08-071-7/+10
| | | | SVN-Revision: 8373
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-22/+17
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362