Commit Graph

53 Commits

Author SHA1 Message Date
Gustavo Zacarias
f9d2bcd142 toolchain/kernel-headers: drop unused cris architecture kludge
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-11 22:25:54 +02:00
Alvaro G. M
0a4856ce27 DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, $2=FILE_NAME
This modifies the definition of DOWNLOAD to receive two arguments:
the first one is the full URL of the file to download, whereas the second
(and optional) is the name the file will have once downloaded.

Same thing with the SOURCE_CHECK_WGET and SCP functions.

All calls to these functions have been changed to the shortest form of
the new API, except for toolchains acquisition. Since there is quite a
number of different toolchains this call to DOWNLOAD is better set to the
generic one.

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Stephan Hoffmann <sho@relinux.de>
Downloading Microblaze LE toolchain works on a clean install
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-18 22:21:16 +01:00
Gustavo Zacarias
19e022a92f kernel-headers: bump to version 3.0.7 and add version 3.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-24 17:48:28 +02:00
Thomas Petazzoni
59a326b934 support: move patch-kernel.sh and rename it
The name "patch-kernel.sh" is a bit stupid, since this script is used
to patch everything in Buildroot, not only kernel trees.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:15:32 +02:00
Peter Korsgaard
d58aab892e kernel-headers: add 3.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-22 09:08:36 +02:00
Peter Korsgaard
aa08cb6f57 kernel-headers: add 2.6.38, remove 2.6.34.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:09:32 +01:00
Peter Korsgaard
3036644049 kernel-headers: handle long term support kernels, bump 2.6.35
2.6.34 was (erroneously) already updated earlier.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26 12:09:42 +01:00
Peter Korsgaard
742f393ffb kernel-headers: simplify
Old-style kernel headers got removed almost 2 years ago, so get rid of
the seperate kernel-headers-new.makefile file and move the content
to the main kernel-headers.mk.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 21:52:16 +01:00
Peter Korsgaard
891973f538 Makefile: move KERNEL_ARCH from kernel-headers to here
Closes #2707

It's not only for kernel headers, and the kernel headers .mk file
isn't included for crosstool-ng toolchain, which broke linux/u-boot/..
builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-17 23:32:37 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard
79c9a433ed kernel-headers: make snapshot option more user friendly
Closes #751.

Make kernel headers snapshot more user friendly by making it more obvious
that it's about using a local kernel snapshot, and error out with a sensible
error message if the option is enabled but no linux-2.6.tar.bz2 is present
in DL_DIR, rather than trying to fetch it from kernel.org.

Furthermore fix the bug where it tried to use linux-2.6..tar.bz2 instead of
linux-2.6.tar.bz2.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 15:54:03 +01:00
Michael Roth
cb5710c538 rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
To reflect the new output directory hierachy rename the Makefile variable
TOOL_BUILD_DIR to TOOLCHAIN_DIR.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:15:27 +02:00
Thomas Petazzoni
af2390c0f4 toolchain: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:18 +02:00
Peter Korsgaard
c75061b876 kernel-headers: remove deprecated 2.4 support 2009-02-24 08:56:26 +00:00
Peter Korsgaard
0ef35d5d5e toolchain/: convert to DOWNLOAD helper 2009-01-16 11:47:05 +00:00
Peter Korsgaard
35dc4cd628 toolchain: sh64 fixes
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well
- use little endian for sh64, like for 32bit sh

sh64 still doesn't build, but gets further along now.
2009-01-13 15:09:18 +00:00
Peter Korsgaard
b24c3215c1 buildroot: get rid of s390 support
As discussed on the list. It isn't supported by uclibc, so I strongly doubt
anyone has been using it.
2009-01-12 14:36:14 +00:00
Peter Korsgaard
f85cd12c17 toolchain: also setup kernel headers when ext toolchain is used
Provide kernel headers when ext toolchain is used, so we can compile
packages which need them.
2008-06-13 14:28:57 +00:00
Ulf Samuelsson
a04459a2a3 Define kernelversion if ext toolchain is used 2008-01-10 09:30:11 +00:00
Peter Korsgaard
24f21ae70f Fix for old-style kernels (broken by r20018). Check old-style versions before
including kernel-headers-new.makefile.
2007-11-26 14:54:15 +00:00
Ivan Kuten
3d4957b0dd update kernel-headers nios2 support, thanks atle 2007-11-09 09:52:26 +00:00
Eric Andersen
206711de6a bump up a few version numbers. kill dead 2.6.19 option.
accomodate powerpc64
2007-09-11 19:07:12 +00:00
Ulf Samuelsson
60eb97a42f This patch allows each project to have a private linux build.
Split build of kernel headers and kernel image into two source trees.
Kernel headers are built in $(TOOL_BUILD_DIR)
Kernel build is in $(PROJECT_BUILD_DIR)

Make sure that kernel patches are applied to the kernel tree in
$(PROJECT_BUILD_DIR)
Add board specific patches, if available.
2007-08-24 05:36:46 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
193c312f22 - move setting of determination whether we use a full kernel vs. sanitized headers into the generic part 2006-12-22 10:37:22 +00:00
Bernhard Reutner-Fischer
6a4e7fddf0 - prerequisites are evaluated immediately, so move the dl rule down below setting the respective variables. Thanks to whirm for noticing this. 2006-12-14 15:12:19 +00:00
Bernhard Reutner-Fischer
23fe556e15 - sh[234][[:alnum:]]* -> sh 2006-12-13 16:56:59 +00:00
Eric Andersen
64bc2777e5 split things up so this is not an unreadable mess 2006-12-13 11:49:19 +00:00
Eric Andersen
3b261a29d5 use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin 2006-12-08 05:24:59 +00:00
Bernhard Reutner-Fischer
fc34e17f85 - bump non-sanitized version to 2.6.19
- remove some superfluous mkdir's
- allow for patch, patch.gz, patch.bz2 per version
2006-12-02 18:12:18 +00:00
Bernhard Reutner-Fischer
da94fc44b3 - bump version 2006-11-22 21:02:21 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Bernhard Reutner-Fischer
994d447436 - normalize KERNEL_ARCH via sed 2006-10-11 11:36:57 +00:00
Bernhard Reutner-Fischer
e9e73bb4ae - we need to pass ARCH to the kernel; The kernel does not have a table to
normalize the passed in ARCH, from the looks, so we have to normalize it manually. XXX: FIXME upstream via a simple shell script like the cc-checks!
  FIXME: flesh this out..
2006-10-09 16:13:12 +00:00
Bernhard Reutner-Fischer
3cafac18a1 - use headers_install for full kernel tarballs used as kernel-headers 2006-10-09 11:41:34 +00:00
Bernhard Reutner-Fischer
7e472ca29c - add possibility to use a 2.6.18 (full) kernel tarball for the libc-headers. 2006-09-28 12:51:25 +00:00
Eric Andersen
1c911f7f4f minor dependancy cleanup 2006-07-19 06:37:58 +00:00
Eric Andersen
cb4df509a6 fix fallback case so dependancies work as expected 2006-07-19 00:06:06 +00:00
Peter Korsgaard
7bc4ad6e56 0000851: toolchain/kernel-headers: Use LINUX_HEADERS_VERSION instead of
LINUX_VERSION.
 
Use LINUX_HEADERS_VERSION instead of LINUX_VERSION as that variable is used
for the actual kernel version used which might be different than the headers
version.

E.G. LINUX_VERSION is set in the target/device/* files. If this version
doesn't match the selected kernel headers version the patches won't be applied.
2006-04-28 19:40:43 +00:00
David Anders
97508f1574 fix improper symlink for asm dir when using x86 archs 2006-01-24 20:20:03 +00:00
Mike Frysinger
e420a8870a incorporate patches from marc in bug #273 to add support for nios2 2006-01-04 04:52:34 +00:00
Eric Andersen
58f2a53ffb Update the set of available kernel headers to include 2.4.31 and 2.6.12 2005-07-18 22:20:12 +00:00
Eric Andersen
369864cf10 be a bit more consistant with naming, always escape wildcards 2005-06-24 08:36:13 +00:00
Eric Andersen
491b44e86a If you update the kernel headers tarball and run make against an already built
buildroot, the header files will be re-extracted, but they will not be put in
exactly the right place if the name of the extracted directory includes the
kernel version numbers.

For example, linux-libc-headers-2.4.25.tar.bz2 will be extracted to
$(TOOLCHAIN_BUILD_DIR)/linux-libc-headers-2.4.25, and then the mv command will
move the newly extracted headers into the already existing
$(TOOLCHAIN_BUILD_DIR)/linux directory, instead of replacing that directory as
desired.

The fix is to first remove the $(TOOLCHAIN_BUILD_DIR)/linux directory and then
do the mv command.

http://bugs.busybox.net/view.php?id=296
2005-06-23 23:25:25 +00:00
Eric Andersen
d487848a7a Bump available sanitized kernel headers 2005-03-18 10:23:50 +00:00
Eric Andersen
1a35a66350 Fix some silly bugs: a variable for gcc was used before it was defined, remove
'.svn' not 'CVS' from the install, add 2.4.29 kernel headers as the default.
2005-02-11 20:52:06 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
070e7c147b Patch from Volmat Alain adding SH3/SH3EB SH4EB support 2004-12-11 09:56:58 +00:00
Eric Andersen
3bc8257dc7 doh 2004-10-26 08:50:08 +00:00
Eric Andersen
19958ff951 Update to the latest linux-libc-headers 2004-10-25 21:23:18 +00:00