Commit Graph

49 Commits

Author SHA1 Message Date
Peter Korsgaard
cc9fb53408 target/u-boot: add 2009.11 and update target mkimage so it builds with 2009.11
In 2009.11, a number of extra files are needed to build mkimage. Adjust
the makefile to add those if available, so it builds with both 2009.11
and older releases.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 09:33:45 +01:00
Peter Korsgaard
d77594ccd7 target/u-boot: install mkimage to HOST_DIR
As suggested by Thomas.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 09:27:41 +01:00
Anders Darander
9c37425ba9 Fix mkimage-install problem with external toolchain.
Closes #757.

Make sure that /usr/bin/ exists, before trying to copy mkimage to that
location. When using an external toolchain, /usr/bin is not guarenteed to
exist.

Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 08:51:01 +01: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
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
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
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
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
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
3ff43a6838 buildroot: convert remaining WGET users to DOWNLOAD helper 2009-01-16 12:07: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
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
Ulf Samuelsson
e074c38220 Add Memory configuration to U-Boot build, remove some debugging info 2009-01-03 00:00:46 +00:00
Ulf Samuelsson
abda401711 Support AT91 in vanilla U-Boot 2009-01-02 11:18:09 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
644b251f62 u-boot: bump version 2008-08-20 20:04:18 +00:00
Peter Korsgaard
b4aeef0f1c u-boot: fix broken insert_define in Makefile
Patch by Markus Heidelberg <markus.heidelberg@web.de>
2008-08-20 20:04:14 +00:00
Peter Korsgaard
b7a45746a4 u-boot: fix wrong syntax in Makefile
Patch by Markus Heidelberg <markus.heidelberg@web.de>

Some $(call insert_define, ..., ...) calls were lacking the comma after
the variable. That didn't lead to a syntax error but it didn't have any
effect on the output u-boot/include/config.h
2008-08-20 20:04:11 +00:00
Peter Korsgaard
91f7f887c4 uboot: revert r22638
Go back to 1.3.2 as r22638 breaks mkimage
2008-07-08 10:53:17 +00:00
Ulf Samuelsson
db56ec0fd3 Bump U-Boot version to 1.3.3 2008-07-04 22:18:56 +00:00
Peter Korsgaard
ebd3916b59 u-boot tools: make sure destination directory exists 2008-06-17 08:04:15 +00:00
Peter Korsgaard
1828845345 u-boot: don't depend on gcc (not needed and not provided by ext toolchain) 2008-06-13 13:46:42 +00:00
Peter Korsgaard
3094bf2b35 u-boot: cleanup arch handling
Thanks to Hamish Moffatt.
2008-06-12 07:27:48 +00:00
Peter Korsgaard
871896a93e u-boot: evaluate U_BOOT_ARCH at use time, rather than Makefile parse time
U_BOOT_ARCH seems to race with KERNEL_ARCH in some situations,
so it end up empty. It's only used once, so fix it by using a
use-time evaluated variable instead (=).
2008-06-11 13:07:03 +00:00
Peter Korsgaard
d8dcacdab1 u-boot: support platform-independent patches
Support platform independent patches (.patch) and use .patch.$ARCH for
platform dependent ones like elsewhere.
2008-04-23 14:52:38 +00:00
Peter Korsgaard
a40d635ec0 u-boot: don't error on existing symlink 2008-04-23 14:52:35 +00:00
Peter Korsgaard
5cc50fcb68 u-boot: tools in target (mkimage, fw_printenv and fw_setenv) 2008-04-23 13:03:53 +00:00
Peter Korsgaard
d3359c9323 u-boot: use correct ARCH 2008-04-23 13:03:50 +00:00
Peter Korsgaard
a2f4d5164e u-boot: clean: also remove mkimage from staging_dir 2008-04-23 13:03:47 +00:00
Peter Korsgaard
bb0a617e12 u-boot: set ARCH and CROSS_COMPILE 2008-04-23 10:30:03 +00:00
Peter Korsgaard
6d5ecc1e51 u-boot: fix custom patch handling 2008-04-09 07:02:20 +00:00
Peter Korsgaard
1befc6edd2 u-boot: bump version 2008-04-09 07:02:16 +00:00
Peter Korsgaard
34274164d9 buildroot: additional -clean target fixes
Patch by Hebbar.
2008-04-01 07:03:07 +00:00
John Voltz
7f4141ae20 separate u-boot for at91 arm and everything else 2008-03-11 18:26:07 +00:00