Commit Graph

132 Commits

Author SHA1 Message Date
Will Wagner
dc88b05c33 linux-advanced: add 2.6.32.8
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 13:17:45 +01:00
Bernhard Reutner-Fischer
473a91dbe6 *-menuconfig needs dirs to exist
In a pristine checkout the -menuconfig targets need their build dirs
to exist.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:31:21 +02:00
Bernhard Reutner-Fischer
10eaccc233 allow menuconfig without a LINUX26_KCONFIG file
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:13:06 +02:00
Thomas Petazzoni
397fe5cc0b Remove the "project" feature
The "project" feature was designed to allow to several projects to be
built inside the same Buildroot source tree and allowing the toolchain
and non-configurable packages to be shared between the different
projects on the same architecture. While being interesting in theory,
this feature adds a level of complexity to Buildroot, both from an
user perspective and from a developer perspective, while one of the
main Buildroot strengh is to be simple. Moreover, this feature is only
seldomly used by our users.

From a user-level perspective, this for example allows to remove the
project_build_ARCH directory, which was very confusing. The
autotools-stamps directory is also removed, since these stamps are
back at their normal location.

Description of the changes involved :

 * project/, directory removed

 * Makefile

    - Don't include project/Makefile.in and project/project.mk anymore

    - Grab a copy of the contents of project/Makefile.in at the
      location it was imported, but remove the definition related to
      PROJECT_BUILD_DIR. The TARGET_DIR is now in
      $(BUILD_DIR)/target_dir

    - Remove the creation/removal of the $(PROJECT_BUILD_DIR) and
      $(PROJECT_BUILD_DIR)/autotools-stamps directories

    - Don't make world depends on target-host-info. This target was
      defined by project/project.mk to customize /etc/issue,
      /etc/hostname and create /etc/br-version depending on the
      project definitions. We can of course imagine re-adding such a
      feature later.

    - Replace PROJECT_BUILD_DIR by BUILD_DIR everywhere

    - Remove the update, log and lognr.$(PROJECT) target, they were
      specific to the project feature.

 * package/Makefile.autotools.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

    - Move the INSTALL_TARGET and HOOK_POST_INSTALL stamps to the same
      directory as the other stamps (i.e, in the package directory).

 * package/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

 * package/at/at.mk,
   package/busybox/busybox.mk,
   package/busybox/initramfs.mk,
   package/customize/customize.mk,
   package/linux-fusion/linux-fusion.mk,
   package/ltp-testsuite/ltp-testsuite.mk,
   package/nfs-utils/nfs-utils.mk,
   target/cpio/cpioroot.mk,
   target/cramfs/cramfs.mk,
   target/device/Atmel/DataFlashBoot/DataflashBoot.mk,
   target/device/Atmel/Makefile.in,
   target/device/Atmel/at91bootstrap/at91bootstrap.mk,
   target/device/KwikByte/Makefile.in,
   target/ext2/ext2root.mk,
   target/initramfs/initramfs.mk,
   target/iso9660/iso9660.mk,
   target/jffs2/jffs2root.mk,
   target/linux/Makefile.in,
   target/romfs/romfs.mk,
   target/squashfs/squashfsroot.mk,
   target/tar/tarroot.mk,
   target/ubifs/ubifsroot.mk

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

 * target/device/Config.in

    - Do not include project/Config.in anymore

 * target/linux/Makefile.in.advanced

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Store the stamps file in $(STAMP_DIR) instead of
      $(PROJECT_BUILD_DIR)/autotools-stamps

 * target/u-boot/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Remove $(PROJECT) from the U-Boot target binary name

    - Remove the insertion in the configuration of the project name as
      the hostname

    - The u-boot-autoscript target now generates
      $(U_BOOT_AUTOSCRIPT).img instead of
      $(U_BOOT_AUTOSCRIPT).$(PROJECT)

 * toolchain/gcc/gcc-uclibc-3.x.mk
   toolchain/gcc/gcc-uclibc-4.x.mk

    - Move the stamps files to $(STAMP_DIR)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:28:25 +02:00
Thomas Petazzoni
79c213fbe5 target: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Peter Korsgaard
f91315e171 linux-advanced: remove unused ancient kernel versions
More than 2 years old, and no in tree users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 20:22:46 +02:00
Ulf Samuelsson
1a6f22d2a3 Update kernel "latest" major/minor version numbers
including adding support for 2.6.30/2.6.31-rc#
2009-07-24 18:04:06 +02:00
Ulf Samuelsson
1aeeebc19b Remove unused file: "target/linux/Config.in.experimental" 2009-07-24 18:02:04 +02:00
Sven Neumann
7bb5ce002c linux26: do not set CFLAGS_KERNEL to TARGET_CFLAGS
Using TARGET_CFLAGS breaks the kernel build for the arm platform. The
result is a kernel that can not be booted. So simply do not fiddle with
the CFLAGS on a kernel build and the kernel build system will do the
right thing (TM).

[Peter: do the same thing for the standard kernel build]

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-22 22:43:51 +02:00
Svein-Erik Skjelbred
4ee69b6b64 linux-advanced: bump 2.6.29.x kernel version
Signed-off-by: Svein-Erik Skjelbred <at91rm9200@skjelbred.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-28 16:16:12 +02:00
Thiago A. Correa
b85c3d628e Update Linux Advanced to 2.6.29.2
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2009-05-08 07:04:28 -03:00
Peter Korsgaard
3803dc14e4 target/linux: default to bzImage for i386/x86_64 2009-03-24 08:28:04 +00:00
Thiago A. Corrêa
0c84c92b13 Fix dependency for custom patches when custom patch is empty. 2009-03-16 11:38:33 +00:00
Thiago A. Corrêa
d96c3de0da Fix build (dependency) with custom patch option 2009-03-13 04:31:43 +00:00
Peter Korsgaard
4bf006c12c avr32: rename 2.6.28.x kernel patches to match current kernel headers version 2009-02-25 14:28:49 +00:00
Peter Korsgaard
aae3f1b6b3 linux: always apply platform patches if available
Get rid of BR2_KERNEL_HEADERS_PATCH_DIR config, and simply always apply
platform patches if available.
2009-02-25 14:28:35 +00:00
Peter Korsgaard
8259f1529a kernel-headers: remove 2.6.20-22 variants and outdated impi/lzma patches 2009-02-25 14:26:03 +00:00
Peter Korsgaard
4700ea5af2 linux-advanced: don't error out on non writable /tftpboot
Odd that we have 2x the same target right after eachother, but this is
Makefile.in.advanced ofcourse ;)
2009-02-22 10:38:10 +00:00
Thiago A. Corrêa
d16f8bf2cd Simplify kernel naming scheme. Only use kernel name plus the rootfs suffix if one is provided 2009-02-06 17:38:05 +00:00
Peter Korsgaard
10f0c6c0b3 linux/Makefile.in.advanced: don't depend on phony target for mkimage
Stops continous rebuilds.
2009-02-04 23:15:48 +00:00
Peter Korsgaard
23152113a9 buildroot: use same defaults for atmel target as everything else 2009-02-01 19:37:06 +00:00
Peter Korsgaard
0c54ef9c9a target/linux/Makefile.in.advanced: get rid of BUILDROOT_USE_XWINDOWS
As discussed on the list.
2009-01-30 14:41:04 +00:00
Ulf Samuelsson
8586be28d4 Replace BUILDROOT_KERNEL_CONFIG_METHOD environment variable with BUILDROOT_USE_XWINDOWS 2009-01-26 20:17:06 +00:00
Peter Korsgaard
d2c6e22040 linux/advanced: default to make menuconfig 2009-01-26 16:25:17 +00:00
Ulf Samuelsson
f529db89db Revert bad patch to fix linux rebuild problem 2009-01-26 10:38:00 +00:00
Ulf Samuelsson
86c392e504 Update patchlevels for linux-2.6.25/27/28 2009-01-25 23:42:09 +00:00
Ulf Samuelsson
147b034d0d Ensure /boot exists, Write linux version to file,in case the kernel version has changed after the first build 2009-01-25 23:14:55 +00:00
Ulf Samuelsson
9f20b5f97f Use new SHELL variable BUILDROOT_KERNEL_CONFIG_METHOD
which will override selection between xconfig and menuconfig

make xconfig will, if it fails, or user does not save configuration
result in make menuconfig beeing tried

Fix several issues causing final part of linux to be regenerated
on each make.
2009-01-25 21:48:33 +00:00
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