summaryrefslogtreecommitdiff
path: root/target/linux/Makefile.in.advanced
AgeCommit message (Collapse)Author
2010-03-10remove -mm linux patch optionsH Hartley Sweeten
The -mm tree is really no longer available since the -next tree was created for testing. It's not even listed on the kernel.org site any longer. Plus, the last one that was published as available was pretty old, 2.6.28-rc2-mm1. Remove all the -mm patch stuff from Buildroot to clean up the Linux kernel selection. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23linux-advanced: Fix probing of kernel versionCameron Hutchison
Probing the kernel version uses command substitution to capture the result of a make command. If the top-level make is run with -C, the sub-make will print entering/leaving directory messages, mucking up the output we're trying to capture. Invoke the sub-make with --no-print-directory so we get clean output. Signed-off-by: Cameron Hutchison <cam@camh.ch> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16Remove the "project" featureThomas Petazzoni
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-05target: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-22linux26: do not set CFLAGS_KERNEL to TARGET_CFLAGSSven Neumann
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-03-16Fix dependency for custom patches when custom patch is empty.Thiago A. Corrêa
2009-03-13Fix build (dependency) with custom patch optionThiago A. Corrêa
2009-02-25linux: always apply platform patches if availablePeter Korsgaard
Get rid of BR2_KERNEL_HEADERS_PATCH_DIR config, and simply always apply platform patches if available.
2009-02-25kernel-headers: remove 2.6.20-22 variants and outdated impi/lzma patchesPeter Korsgaard
2009-02-22linux-advanced: don't error out on non writable /tftpbootPeter Korsgaard
Odd that we have 2x the same target right after eachother, but this is Makefile.in.advanced ofcourse ;)
2009-02-06Simplify kernel naming scheme. Only use kernel name plus the rootfs suffix ↵Thiago A. Corrêa
if one is provided
2009-02-04linux/Makefile.in.advanced: don't depend on phony target for mkimagePeter Korsgaard
Stops continous rebuilds.
2009-01-30target/linux/Makefile.in.advanced: get rid of BUILDROOT_USE_XWINDOWSPeter Korsgaard
As discussed on the list.
2009-01-26Replace BUILDROOT_KERNEL_CONFIG_METHOD environment variable with ↵Ulf Samuelsson
BUILDROOT_USE_XWINDOWS
2009-01-26linux/advanced: default to make menuconfigPeter Korsgaard
2009-01-26Revert bad patch to fix linux rebuild problemUlf Samuelsson
2009-01-25Ensure /boot exists, Write linux version to file,in case the kernel version ↵Ulf Samuelsson
has changed after the first build
2009-01-25Use new SHELL variable BUILDROOT_KERNEL_CONFIG_METHODUlf Samuelsson
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-25target/linux-advanced: default to menuconfig for all archsPeter Korsgaard
Default to menuconfig for atmel targets as well, mention QT3 dependency for make xconfig and update affected defconfigs.
2009-01-23Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are ↵Ulf Samuelsson
continuing building after a failure
2009-01-19Fix some bugs in advanced linux configuration, remove some arbitrary ↵Ulf Samuelsson
combinations of major/minor directly supported, general cleanup
2009-01-16buildroot: convert remaining WGET users to DOWNLOAD helperPeter Korsgaard
2009-01-11Move kernel localversion files to TARGET_DIR/boot Ulf Samuelsson
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-08Linux26 requires "mkimage" from u-boot to be in the PATHUlf Samuelsson
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-06Add PATH to linux build options to allow 'mkimage' to be found. Neccessary ↵Ulf Samuelsson
for arm,blackfin,sh and avr32 in linux-2.6.28
2008-12-20Sort Linux debug info in alphabetical orderUlf Samuelsson
2008-11-29Update Linux versionsUlf Samuelsson
2008-11-10revert 23987 until proper implementationIvan Kuten
2008-11-10Download Kernel.org minor patches at the same time as full sources.Ivan Kuten
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
2008-11-05linux26: make installation of modules rule depend on .depend_doneHans-Christian Egtvedt
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-10-30linux: skip installing modules if modules are disabled in kernel configHans-Christian Egtvedt
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-30linux: make touch also create the dependency file when installing modulesHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30linux: fix typo in status printoutHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30linux: add probing for kernel version when installing modulesHans-Christian Egtvedt
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-03linux: fix copy of Busybox config to target directoryHans-Christian Egtvedt
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-09-22target/linux/advanced: don't hardcode date suffixPeter Korsgaard
Use ROOTFS_SUFFIX instead of hardcoding -$(DATE). Reported by Lars Lockenvitz.
2008-08-04buildroot: remove trailing spacesPeter Korsgaard
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
2008-07-13linux-advanced: add linux26-force like in the simple linux makefilePeter Korsgaard
Patch by Brian Beattie.
2008-05-12Make linux kernel extension visible also when defined in board directoryUlf Samuelsson
2008-04-16Avoid duplicate rules for downloading kernel source, if kernel and headers ↵Ulf Samuelsson
are the same
2008-04-16Fix bad linux kernel nameUlf Samuelsson
2008-04-15Allow build to complete, even if tftpboot is not writeable by userUlf Samuelsson
2008-04-15Reversing bad tftpboot patch resulting in two identical targetsUlf Samuelsson
2008-04-11buildroot: additional tftpboot fixesPeter Korsgaard
Patch by Jean-Christian de Rivaz
2008-04-06* Dereference link when copying over kernel image, missed this one in my ↵Nigel Kukard
previous commit
2008-04-06Update linux source tree with minor versionUlf Samuelsson
2008-03-31Patch in EXTRA_VERSIONUlf Samuelsson
2008-03-30Allow selection of kernel config toolUlf Samuelsson
2008-03-29Remove duplicate AVR32 patches, and add support for ARCH and conditional ↵Ulf Samuelsson
AVR32 patches
2008-03-29Add some robustness to linux configurationUlf Samuelsson