Commit Graph

77 Commits (5ca993f88d7303a84be602c80760fc02770b7be8)

Author SHA1 Message Date
Felix Fietkau 5d7bf2454a kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
Daniel Dickinson d9851d2ebd [toolchain] kernel-headers: Fix patch application for kernel-headers and a patch that fixes exposure of a kernel-only data type (umode_t) to application layer which causes compile errors in ext2_fs.h using programs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 05:02:27 +00:00
Felix Fietkau 058345b92f kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 16:39:04 +00:00
Felix Fietkau ac36e7bbbf kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:52:39 +00:00
Felix Fietkau f1f392ab5f toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Felix Fietkau 414fef65ce remove support for building kernel headers with old kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:48 +00:00
Mirko Vogt 3f602d7589 [toolchain/kernel-headers] fix syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 00:24:10 +00:00
Mirko Vogt f9f42031e4 [toolchain/kernel-headers] make sure directory exists before copying into
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-19 23:48:45 +00:00
Nicolas Thill e2f44e59cb toolchain/kernel-headers: simplify linux headers installation (remove legacy hacks, cleanup)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:38:36 +00:00
Nicolas Thill 8e0deee357 toolchain/kernel-headers: restore support for patches, needed for ubicom32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 05:00:00 +00:00
Felix Fietkau b9034da6ae fix kernel-headers build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 15:16:17 +00:00
Florian Fainelli 97a8b93e78 [toolchain] fix kernel-headers build for uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 16:21:18 +00:00
Florian Fainelli 67849ab20d [toolchain] cleanup the 2.6.33 and later kernels kernel-headers installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 12:54:08 +00:00
Florian Fainelli b4becf76ef [toolchain] fix compilation w/ 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 14:55:07 +00:00
Claudio Mignanti a9f35cf146 [etrax] dump 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 08:07:39 +00:00
Felix Fietkau 39bbd5babc add a heavily cleaned up version of ubicom32 toolchain support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:31:47 +00:00
Claudio Mignanti 7eb43d5cbc [etrax] install headers, fix foxboard-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-03 12:49:50 +00:00
Claudio Mignanti 1fb3963834 Fix kernel headers for cris (thanks hinkocevar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-08 14:13:50 +00:00
Ralph Hempel 089cd811f5 fix powerpc build (works for 2.4 and 2.6)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 11:04:08 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Nicolas Thill f927bc9d16 [toolchain] kernel-headers: fix build error when run for the second time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 17:49:36 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Nicolas Thill 293b872934 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Nicolas Thill 22bc8ae40a [toolchain] more kernel headers fixes for cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 01:53:05 +00:00
Nicolas Thill 7b0f1b9a55 [toolchain] move all arch fixups from Install to Prepare stage, so that fixed headers are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 17:05:14 +00:00
Nicolas Thill 7abbd7ad6f [cris] fix missing ptrace.h needed to build final gcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:03:39 +00:00
Nicolas Thill 3b75e47f8f [massive] add support for alternative C libraries (currently only glibc/eglibc)
other (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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Hamish Guthrie 31b995b49c The merge of ppc (32-bit headers) and powerpc (previously 64-bit only 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-09 11:33:47 +00:00
Felix Fietkau 41b9b028ca fix up the asm includes location for .27 when building kernel headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 18:09:24 +00:00
Felix Fietkau 78aec4b21d disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
John Crispin f58d9097ea remove ugly hack for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:46:23 +00:00
Felix Fietkau 62c655ab64 fix path to etrax patches (#3055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 18:22:22 +00:00
Imre Kaloz a8f6b6ede0 *sigh* :P
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 17:36:04 +00:00
Andy Boyett 358f9b5428 Disabling use of libintl in kernel-headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:22:02 +00:00
Nicolas Thill 1fb234e5c4 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
Florian Fainelli 71e3948b34 Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-11 17:32:45 +00:00
Felix Fietkau 123571d003 fix kernel-headers download (#2179)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 09:41:54 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau a5ff10dd74 no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:57:14 +00:00
Felix Fietkau f535b2afbf disable quilt for kernel-headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 06:53:08 +00:00
Felix Fietkau fef4a473d7 fix kernel-headers patching (#1878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 12:59:06 +00:00
John Crispin efa6703d98 Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 09:27:07 +00:00
John Crispin 5f63e4ddcc add initial support for the crisarchitecture used on foxboards to openwrt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 00:46:02 +00:00
Felix Fietkau 76da658eb6 changes to target/linux/generic-* should not trigger a kernel-headers rebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:48:47 +00:00
Felix Fietkau 556ff80527 mark uml as broken and add some cleanups (not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 18:25:14 +00:00
Felix Fietkau 6a32057e58 add kernel_headers dependency on target/linux/generic-2.*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 18:54:51 +00:00
Felix Fietkau 0254fd5878 fix user mode linux toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-19 12:19:45 +00:00
Nicolas Thill 6ec0982138 fix uml-2.6 build with 2.6.19.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-29 11:09:10 +00:00
Felix Fietkau 3e95c0ea77 fix kernel-headers compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 04:57:55 +00:00
Felix Fietkau 9bce57a79f another round of ppc fixes - the unfinished include/asm-ppc => asm-powerpc migration causes trouble
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-30 18:30:16 +00:00