Commit Graph

27 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
Ulf Samuelsson
6087c68fe5 Clean up at91bootstrap 2009-01-29 21:28:57 +00:00
Ulf Samuelsson
b31e63aaf1 Remove obsolete at91bootstrap patches 2009-01-29 20:52:52 +00:00
Ulf Samuelsson
0dbf9dd7ab Create a common BR2_COPYTO to prepare to replace
all the different COPYTOs spread out all over
Buildroot.
Generate COPY_FILE subroutine which can be used
to copy a file.

$(COPY_FILE , file, directory, filename)
This will copy to binary dir and to the selected
copy dir if set in new config (intended to replace
all old COPYTO configs)

This is overridden by BUILDROOT_COPYTO,
if set into the environment.
2009-01-26 23:52:31 +00:00
Peter Korsgaard
ed5f6093c0 target/: convert to DOWNLOAD helper 2009-01-16 11:48:43 +00:00
Ulf Samuelsson
e897b420fb Update at91bootstrap to 2.10 2009-01-11 21:44:14 +00:00
Ulf Samuelsson
c299ec7a8d Add support for SAM9G20 in at91bootstrap 2009-01-06 16:36:45 +00:00
Ulf Samuelsson
5dec4da010 Remove debugging variable added to svn by mistake, (Thanks Pter) 2009-01-03 00:07:25 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
f1258adf6b target/device/Atmel: fix long help text lines
And remove trailing spaces while we're at it.
2008-08-27 20:18:37 +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
3603cb5114 Fix dependencies in Configs 2008-05-06 01:37:26 +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
8eb01e4a05 Add configuration items to at91bootstrap 2008-04-10 21:05:30 +00:00
John Voltz
36be219225 download url was invalid 2008-03-11 16:19:33 +00:00
John Voltz
ceaf9e8217 updates and additions for avr32 arch 2008-03-06 18:59:14 +00:00
Ulf Samuelsson
7710ba7894 Update ATMEL_MIRROR and bump at91bootstrap to v2.4 2008-01-08 21:05:50 +00:00
Ulf Samuelsson
79db2c6989 Comment should depend on AT91 bootstrap beeing built 2007-10-21 20:13:40 +00:00
Ulf Samuelsson
4640f97039 Bump version of AT91 bootstrap 2007-09-24 22:24:29 +00:00
Ulf Samuelsson
66285ef7d8 bzcat => $(BZCAT) for u-boot and at91bootstrap 2007-08-22 21:53:13 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
3471ebe0a3 - random whitespace cleanup 2007-08-22 11:47:22 +00:00
Ulf Samuelsson
62f5e15724 Add programmable start adr/size to at91bootstrap + support for at91sam9260pf 2007-08-15 09:42:33 +00:00
Ulf Samuelsson
45c8379b67 Reintroduce ATMEL_MIRROR in at91bootstrap 2007-07-29 07:09:57 +00:00
Ulf Samuelsson
a035d2300a Use a single ATMEL_MIRROR declaration + cleanup 2007-07-22 17:04:11 +00:00
Ulf Samuelsson
a1e6a84bb3 Add AT91 targets 2007-07-17 12:19:56 +00:00