Commit Graph

104 Commits

Author SHA1 Message Date
Peter Korsgaard
7e41b89b56 target/linux-advanced: default to menuconfig for all archs
Default to menuconfig for atmel targets as well, mention QT3 dependency
for make xconfig and update affected defconfigs.
2009-01-25 20:11:31 +00:00
Ulf Samuelsson
501c007158 Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are continuing building after a failure 2009-01-23 00:54:23 +00:00
Ulf Samuelsson
b71c76a10a Fix some bugs in advanced linux configuration, remove some arbitrary combinations of major/minor directly supported, general cleanup 2009-01-19 21:27:04 +00:00
Peter Korsgaard
3ff43a6838 buildroot: convert remaining WGET users to DOWNLOAD helper 2009-01-16 12:07:53 +00:00
Ulf Samuelsson
63e0cdb206 Update kernel snapshot version 2009-01-15 23:19:28 +00:00
Peter Korsgaard
b2c5b9109e toolchain: fix cris build with 2.6.28 kernel headers
Patch by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
2009-01-12 20:16:16 +00:00
Ulf Samuelsson
06b9e7abe7 Move kernel localversion files to TARGET_DIR/boot
to allow packages which assumes that LINUX26_DIR
and the /lib/modules/LINUX_VERSION use
the consistent version numbering to build.

Create a file ".linux-version" containing
the real linux version in $(PROJECT_B UILD_DIR)
to allow packages to read the correct linux version
2009-01-11 20:43:24 +00:00
Ulf Samuelsson
34b01cc4a1 Make sure U-boot is built, if we do make uImage 2009-01-09 06:30:08 +00:00
Ulf Samuelsson
ab5c2cfc03 Linux26 requires "mkimage" from u-boot to be in the PATH
if an uImage is to be built for arm, avr32, blackfin and sh.

PATH has therefore been set to have $(STAGING_DIR)/usr/bin
as the first item allowing linux to find mkimage.

This patch will, if an uImage is built, create a "u-boot-toóls"
directory in the PROJECT_BUILD_DIR directory.
$(STAGING_DIR)/usr/bin/mkimage is copied to this directory
and the PATH variable will now include "u-boot-tools"

If an uImage is built, then the linux build will now depend on "u-boot".
2009-01-08 22:58:30 +00:00
Ulf Samuelsson
036f1daaa0 Remove incorrrect dependency on latest minor kernel patch 2009-01-06 23:00:24 +00:00
Ulf Samuelsson
ec2eb199ca Add PATH to linux build options to allow 'mkimage' to be found. Neccessary for arm,blackfin,sh and avr32 in linux-2.6.28 2009-01-06 21:42:43 +00:00
Ulf Samuelsson
c7b77e5669 Set default kernel to BR2_LINUX26_STABLE, Remove duplicate definion of BR2_KERNEL_CURRENT_VERSION and remove comments from Config.in choices 2009-01-06 21:24:42 +00:00
Ulf Samuelsson
b33e097596 When you set BR2_PACKAGE_LINUX_USE_DEFCONFIG
to configure linux using the

make <board>_defconfig

You have to supply the $(BOARD_NAME) variable.
Add this info in the help text for
target/linux/Makefile.in.advanced

----------------

When you do not set BR2_PACKAGE_LINUX_USE_XCONFIG
to configure linux using "$make <XXXX>config
The choices "$make menuconfig" or "$make xconfig"
should not be visible.
Add dependency
2009-01-06 14:40:24 +00:00
Ulf Samuelsson
4eb79e2732 Update linux versions 2009-01-03 01:06:36 +00:00
Ulf Samuelsson
1942056ae7 Use correct linux version when applying latest minor patch 2008-12-20 21:45:59 +00:00
Ulf Samuelsson
2ee2248cc4 Sort Linux debug info in alphabetical order 2008-12-20 21:45:05 +00:00
Ulf Samuelsson
f0ebb39d18 Put latest version info in separate file for easier maintenance 2008-12-20 20:57:07 +00:00
Ulf Samuelsson
fc92f159bb Update to latest linux versions 2008-12-17 18:03:29 +00:00
Peter Korsgaard
6dbe1188de taget/linux: handle non-modular kernels
Based on b151271 in Bernhard's tree.
2008-12-07 06:55:36 +00:00
Ulf Samuelsson
4f1887e424 Update Linux versions 2008-11-29 21:56:25 +00:00
Peter Korsgaard
193508d257 linux: remove unused BR2_LINUX_BOARD_PATCH
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-14 13:39:58 +00:00
Ivan Kuten
da6f419424 revert 23987 until proper implementation 2008-11-10 11:17:21 +00:00
Ivan Kuten
1f370768bc Download Kernel.org minor patches at the same time as full sources.
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
2008-11-10 10:45:46 +00:00
Hans-Christian Egtvedt
12b5b0124b linux26: make installation of modules rule depend on .depend_done
This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed.

Make kernelversion does not work before make prepare has been run.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05 12:59:32 +00:00
Hans-Christian Egtvedt
fc23ee8dea linux: skip installing modules if modules are disabled in kernel config
This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:56:58 +00:00
Hans-Christian Egtvedt
fed8349509 linux: make touch also create the dependency file when installing modules
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:22:11 +00:00
Hans-Christian Egtvedt
aabaf095a0 linux: fix typo in status printout
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:47 +00:00
Hans-Christian Egtvedt
4c1a34471d linux: add probing for kernel version when installing modules
This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:05 +00:00
Hans-Christian Egtvedt
0fbec516fd linux: fix copy of Busybox config to target directory
This patch fixes bug report #5204. The Busybox config was not copied from the
correct place.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-03 07:24:34 +00:00
Peter Korsgaard
5c662fee80 target/linux/advanced: don't hardcode date suffix
Use ROOTFS_SUFFIX instead of hardcoding -$(DATE).

Reported by Lars Lockenvitz.
2008-09-22 12:04:05 +00:00
Ulf Samuelsson
fd3742248d Add configurations for current linux versions 2008-08-23 20:25:29 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
38e12fd263 linux-advanced: add linux26-force like in the simple linux makefile
Patch by Brian Beattie.
2008-07-13 06:32:58 +00:00
Ulf Samuelsson
e49a025f4b Fix comments regarding latest stable kernel 2008-07-10 15:14:17 +00:00
Ulf Samuelsson
2e350eb011 Update 'latest' kernel info 2008-07-10 14:58:04 +00:00
Peter Korsgaard
6b539be71b linux: add knob to force a rebuild of the kernel
Makes development easier. Thanks to Brian Beattie for this handy idea.

1df013316b in Bernhards tree.
2008-07-09 11:43:57 +00:00
Ulf Samuelsson
41e6a671f3 Add support for latest kernels 2008-07-03 08:15:49 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Ulf Samuelsson
cb0a2e6105 Make linux kernel extension visible also when defined in board directory 2008-05-12 21:15:32 +00:00
Ulf Samuelsson
4f9c37d960 Avoid duplicate rules for downloading kernel source, if kernel and headers are the same 2008-04-16 22:54:46 +00:00
Ulf Samuelsson
f5e9fe17b2 Fix bad linux kernel name 2008-04-16 22:45:47 +00:00
Ulf Samuelsson
ed638f6feb Allow build to complete, even if tftpboot is not writeable by user 2008-04-15 21:46:47 +00:00
Ulf Samuelsson
1262117ee6 Reversing bad tftpboot patch resulting in two identical targets 2008-04-15 17:10:24 +00:00
Peter Korsgaard
bcf8f7ca9e buildroot: additional tftpboot fixes
Patch by Jean-Christian de Rivaz
2008-04-11 21:32:09 +00:00
Ulf Samuelsson
186cd571e6 Use lower case 2008-04-06 10:32:34 +00:00
Nigel Kukard
4b6620b31b * Dereference link when copying over kernel image, missed this one in my previous commit 2008-04-06 10:30:18 +00:00
Ulf Samuelsson
c92d851caa Make xconfig the default for Atmel targets 2008-04-06 10:10:30 +00:00
Ulf Samuelsson
f9dc95c230 Update linux source tree with minor version 2008-04-06 10:02:53 +00:00
Ulf Samuelsson
0e65446676 Patch in EXTRA_VERSION 2008-03-31 05:42:03 +00:00