Commit Graph

79 Commits

Author SHA1 Message Date
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
a0dd551791 u-boot: remove ancient 1.3.4 version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:23:06 +02:00
Peter Korsgaard
7cbed5d335 u-boot: add 2009.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:22:40 +02:00
Peter Korsgaard
1af58aff72 u-boot: mark old 2008.10 version as deprecated
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-27 14:39:30 +02:00
Peter Korsgaard
a928430ff7 u-boot: add 2009.06 release
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:59:49 +02:00
Peter Korsgaard
99da30bf5d u-boot: target tools: use library files from their original location
u-boot 2009.06 changed the tools/ logic, and no longer adds symbolic
links to the needed library files in the tools directory.

Fix build by referencing the library files in their original location.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:56:49 +02:00
Thiago A. Corrêa
7c66cc18cd Undeprecate u-boot 2008.10 since this is the last version known to work with JFFS2 fs and AVR32 2009-04-30 06:27:33 +00:00
Peter Korsgaard
2e47c82b61 u-boot: add 2009.03 release 2009-03-23 13:30:36 +00:00
Peter Korsgaard
589ab711a6 u-boot: get rid of version specific patch dirs
All those dirs seem a bit excessive for a single patch
2009-03-23 13:30:30 +00:00
Thiago A. Corrêa
227d6e5245 Revert wrongly commited files (u-boot changes) from -r25617 2009-03-11 21:40:00 +00:00
Thiago A. Corrêa
149c0d450c Let user skip installation of the GUI module for Qtopia 2009-03-11 21:35:07 +00:00
Peter Korsgaard
5dac2c31e2 u-boot: don't touch config.h unless explicitly requested by user
Fixes the problem of important variables like serverip being overwritten
with empty strings if the network/default env stuff isn't used.
2009-02-10 15:19:57 +00:00
Peter Korsgaard
cfeadbdf6c u-boot: remove unused BOOTARGS / BOOTCMD handling
Not available in Kconfig and no references to it in the tree.
2009-02-10 15:19:24 +00:00
Peter Korsgaard
30ab8666e4 u-boot: don't make ETH1ADDR setting depend on avr32
No sensible reason why this should only be present on avr32.
2009-02-10 15:19:04 +00:00
Peter Korsgaard
8b47a479f5 u-boot: remove commented out line 2009-02-07 06:57:37 +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
8567f5fa15 u-boot: fix dependency for host mkimage 2009-02-04 23:15:51 +00:00
Peter Korsgaard
7f4cb62a1b u-boot: halt build early with description if no u-boot board name is set 2009-01-26 14:49:19 +00:00
Peter Korsgaard
3bab463be4 u-boot: clean up after Ulf
As discussed on the list.
2009-01-26 14:49:00 +00:00
Peter Korsgaard
6218173ce2 u-boot: mark 2008.10 version as recent 2009-01-26 14:04:10 +00:00
Ulf Samuelsson
377773e2f7 Fix erronous mkimage target 2009-01-26 11:46:44 +00:00
Ulf Samuelsson
f529db89db Revert bad patch to fix linux rebuild problem 2009-01-26 10:38:00 +00:00
Ulf Samuelsson
e4c96c2d26 Use latest u-boot as default 2009-01-22 18:46:00 +00:00
Peter Korsgaard
5f1fb36aa3 u-boot: add 2009.01, remove -rc3 2009-01-22 10:11:09 +00:00
Ulf Samuelsson
2f4722048b Fix AVR32 u.boot build bug 2009-01-22 07:39:12 +00:00
Peter Korsgaard
a5e5bdd51b u-boot: unbreak target tools
Got broken by r24697.
2009-01-21 15:49:06 +00:00
Ulf Samuelsson
8a97f125ab U_BOOT_ARCH_PATCH_DIR should contain a value or should not be defined, empty string is not allowed 2009-01-20 08:11:26 +00:00
Ulf Samuelsson
5a46761446 Bump u-boot to -2009.01-rc3, and add possibility to apply the arch-at91 patches if using an at91 2009-01-19 22:42:03 +00:00
Peter Korsgaard
675b479c2f Kconfig: remove 'default n' and 'default no' (see r22874)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:20:18 +00:00
Peter Korsgaard
3ff43a6838 buildroot: convert remaining WGET users to DOWNLOAD helper 2009-01-16 12:07:53 +00:00
Ulf Samuelsson
f4431ebb08 Move AT91 patches for u-boot-2009.01-rc1 to device/Atmel/arch-arm/u-boot/2009.01-rc1 2009-01-11 21:42:07 +00:00
Ulf Samuelsson
00a1ff5bc3 Remove premature deprecation of u-boot-1.2.0-atmel 2009-01-11 21:39:54 +00:00
Peter Korsgaard
9dd66ff7e9 target/u-boot: more cleanups
As discussed on the list.

- No sense in depending on BR2_TARGET_UBOOT when the configurations are
  within a if BR2_TARGET_UBOOT conditional.
- n is default, so remove 'default n'
- clarify nested conditionals
2009-01-08 14:58:54 +00:00
Peter Korsgaard
2b75de900b target/u-boot: cleanup
Fix s/Linux/U-Boot/ typo, default to the latest stable version, mark
old versions as deprecated and comment out unreleased version for now.
2009-01-08 14:58:51 +00:00
Ulf Samuelsson
0082e57f16 Add CONFIGs for new commands to at91 parts 2009-01-06 16:24:42 +00:00
Ulf Samuelsson
3ab31f3a6a Add support for waiting for NFS root server before booting 2009-01-06 16:24:06 +00:00
Ulf Samuelsson
756b2f1f98 Remove patches that should not have been inlcuded in the spimux commit 2009-01-06 16:21:36 +00:00
Ulf Samuelsson
ce5971ecca Add 'mux' command to control ext mux on at91rm9200dk/ek 2009-01-06 16:17:43 +00:00
Ulf Samuelsson
d6afbb99b4 Add 'led' command to control coloured LEDs 2009-01-06 16:17:15 +00:00
Ulf Samuelsson
b4a6b4eaa4 Remove an extra #endif from u-boot.factory 2009-01-06 16:13:08 +00:00
Ulf Samuelsson
0590b0ff85 Fix some CFG/CONFIG related problems for AT91RM9200 configuration of U-Boot 2009-01-06 16:10:56 +00:00
Ulf Samuelsson
d5e3c2c55a Use the correct sam9g20 patch for 2009.01-rc1 2009-01-06 16:09:53 +00:00
Ulf Samuelsson
6bcd872614 Use PROJECT-u-boot-VERSION-DATE.bin as u-boot target
Provide link using "u-boot.bin"

Add BR2_TARGET_UBOOT_DEFAULT_ENV config
If this is set, Buildroot will generate
a default environment to allow easy downloading
of the kernel and root file system
Both as compile time data and an autoscript.

Make u-boot depend on $(U_BOOT_TARGETS)
Add "u-boot-autoscript" to U_BOOT_TARGETS if 
BR2_TARGET_UBOOT_DEFAULT_ENV is set.

Take kernel name from Linux build.

Use correct ARCH when mkimaging the autoscript.
Do not use TARGET_ATMEL_COPYTO for generic u-boot.

Hide dataflash memory configurations when 
different boot memory is used.
2009-01-06 14:16:27 +00:00
Peter Korsgaard
1250acd942 u-boot: unbreak build after r24674
Disable broken autoscript handling so the build atleast completes
2009-01-05 16:16:30 +00:00
Peter Korsgaard
62ee161f0d u-boot: revert U_BOOT_TARGET part of r24646
More u-boot build unbreaking. r24646 added U_BOOT_TARGET which uses the
nonexisting BOARDNAME variable, which means that the filename expands
to -u-boot-*, confusing ln.

There's limited point in having that symlink in the first please, so simply
revert that hunk.
2009-01-05 16:12:34 +00:00
Peter Korsgaard
f7870ba027 u-boot: unbreak build after r24646
Unset variables aren't the same as "".
2009-01-05 15:52:44 +00:00
Peter Korsgaard
585aca9a5a add .empty files for git-svn
git-svn (and git) doesn't handle empty directories, so add .empty files
to those dirs like elsewhere in buildroot.

Those empty directories are normally not a big deal, but the recent changes
to u-boot broke the build.
2009-01-05 15:47:00 +00:00
Ulf Samuelsson
c7066b1807 Generate an autoscript for configuring u-boot in $(BINARIES_DIR)
mkimage the autoscript to autoscript.$(PROJECT)-
Move build of u-boot-1.2.0-atmel to target/u-boot
	Only visible for AT91 targets.
Fetch prepatched 1.2.0-atmel tarball from $(BR2_ATMEL_MIRROR)
Rest from normal location.
Introduce U_BOOT_CONFIGURE_OPTS
	Set to NOSOFT_FLOAT for u-boot-1.2.0-atmel
Disable target/device/Atmel/u-boot
Keep files in target/device/Atmel/u-boot during a test period.

Files:
M      target/device/Atmel/Makefile.in
M      target/device/Atmel/Config.in
M      target/u-boot/Makefile.in
M      target/u-boot/Config.in
A      target/u-boot/1.2.0-atmel
2009-01-03 15:50:38 +00:00
Nigel Kukard
98eefe7074 Fixed missing " 2009-01-03 15:03:16 +00:00