Commit Graph

193 Commits

Author SHA1 Message Date
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
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
b2998b97cb buildroot: bump version for release 2009-01-16 14:56:57 +00:00
Peter Korsgaard
2b893123a5 BR2_PRIMARY_SITE: move to Mirrors and Download locations menu 2009-01-16 10:27:39 +00:00
Daniel Laird
5432f26f0e Adding Central config.cache options
The following changes allow for use of a central configure cache
file.  This speeds up configuration of packages.
Its use is configurable at the top level (BR2_CONFIG_CACHE - default n).
Old style makefiles can use it if they use the following MACRO in makefiles:
$(AUTO_CONFIGURE_TARGET) see my change to directfb.mk.
New style Autotools.in will use it if you set the global option.
However you can enable the global option and on a per package overrule it by doing
the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example 
of this.
Finally I have removed a few config variable settings which indicated no CXX compiler
as this is wrong and breaks the build when using this central cache.

 Config.in                        |    8 ++++++++
 package/Makefile.autotools.in    |    5 ++++-
 package/Makefile.in              |   28 +++++++++++++++++++++++++++-
 package/atk/atk.mk               |    2 +-
 package/directfb/directfb.mk     |    7 +------
 package/fontconfig/fontconfig.mk |    3 +++
 package/libglib2/libglib2.mk     |    2 +-
 package/libgtk2/libgtk2.mk       |    1 -
 8 files changed, 45 insertions(+), 11 deletions(-)

I would appreciate feedback on this change (I have been testing for 2-3 weeks)
But I can never test all cases!  If you enable the BR2_CONFIG_CACHE option some
Makefile.autotools.in based packages may now break - I cannot build them all.
In this case you may need to remove config options that are being hardcoded all
over the place (like gtk saying we have 2 CXX compiler) or disable the use
of CONFIG CACHE file like I have done in fontconfig.
I can build all packages required to get WebKit on DirectFB up and running
and it runs fine.
I will try to resolve any issues this creates as fast as I can.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-11-28 14:20:47 +00:00
Peter Korsgaard
886b274a5c BR2_HAVE_DOCUMENTATION: add option to remove documentation from target
Some packages' install-strip target install quite big documentation,
so create an option to remove it similar to the existing man/info options.
2008-10-20 11:32:25 +00:00
Peter Korsgaard
3220405a75 Config.in: Don't special case atmel targets for image suffix
It's confusing to have different behaviour of target independent options.
As reported by HcE on IRC.
2008-09-18 09:22:41 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
54e9332892 Replace configuring GLIB with autodetect 2008-07-06 07:34:41 +00:00
Ulf Samuelsson
50cbb4a188 Add configuration possibility for host Gnome Lib installation 2008-07-05 09:22:38 +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
Arnar Mar Sigurðsson
65063afec9 Add option to set default site to download package source from. FreeBSD ports mirrors (like: ftp2.uk.freebsd.org/pub/FreeBSD/ports/distfiles) are a good place to find almost all of the source packages. 2008-06-01 17:58:48 +00:00
Ulf Samuelsson
0bd3ec265f Do not allow optimizations which breaks linux build 2008-03-30 21:49:16 +00:00
John Voltz
7eb796ba2f change gcc default optimization to S instead of zero. It is causing kernel compilation problems for people 2008-03-16 13:26:14 +00:00
John Voltz
809fa27ad8 one more minor change for debugging option 2008-03-12 13:11:29 +00:00
John Voltz
41f6b79ff7 added more debugging options for packages 2008-03-12 13:07:10 +00:00
John Voltz
923f42a3c2 added debugging option 2008-03-12 11:23:11 +00:00
John Voltz
f5b96fc71d renamed variable, removed uppercase config text 2008-03-10 16:34:19 +00:00
John Voltz
bc67ca29d3 added dev files in target option 2008-03-10 15:22:43 +00:00
Ulf Samuelsson
3c2739182b Allow to remove _nofpu from directories and images 2007-10-18 12:38:26 +00:00
Ulf Samuelsson
cfeb86e2b3 Allow longer history for package versions 2007-10-07 18:29:17 +00:00
Ulf Samuelsson
79d42d3238 Allow date to be added to Image 2007-10-07 18:23:01 +00:00
Bernhard Reutner-Fischer
0c16c17f53 - start to think about GNU/hurd support.
Not yet functional. Help welcome
2007-10-05 11:06:56 +00:00
Bernhard Reutner-Fischer
bb9e6a7d9e - naming convention is Config.in resp. Config.in.foo
Adjust some accordingly
2007-09-28 21:54:36 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
b0b368f545 "Project Name" needed before "root" file system can be copied.
Put first according to principle of configuration order
Merge root skeleton configuration to one place
- currently in package/busybox/Config.in
- Should maybe have it's own Config.in
gcc ABI configuration moved from toplevel to toolchain/gcc/Config.in
2007-09-26 06:13:09 +00:00
Bernhard Reutner-Fischer
f5b8cd4ac1 - add a version and display it in the configuration 2007-09-25 11:37:31 +00:00
Bernhard Reutner-Fischer
b587920475 - factor arch/cpu setting out into separate include file 2007-09-25 08:01:15 +00:00
Bernhard Reutner-Fischer
5010039460 - revert patch that obfuscates the config UI and doesn't reflect the order of config steps 2007-09-25 07:55:45 +00:00
Ulf Samuelsson
34a88f1fb0 Reorganize configs to even more logical positions 2007-09-24 21:10:43 +00:00
Bernhard Reutner-Fischer
51a61c9011 - Subsume and collaps toolchain options in one menu
This is ment to ease configuration by providing toolchain related options in one place
  No functional changes, just shuffling the menus around..
2007-09-22 14:16:25 +00:00
Bernhard Reutner-Fischer
c76e2a97ec - add a SVN_UP command for updating an already checked-out tree 2007-09-19 20:22:58 +00:00
Bernhard Reutner-Fischer
be10c4a8c9 - add v9a and v9b settings.
Will need to change the GCC_TARGET_TUNE accordingly.
2007-09-17 21:50:54 +00:00
Bernhard Reutner-Fischer
153ee9e247 - some more sparc{,64} twiddling 2007-09-15 22:04:49 +00:00
Bernhard Reutner-Fischer
cc1f887173 - add sparc64 arch as noticed by Blue Swirl
- add sparc{,64} CPU variants
2007-09-15 12:16:25 +00:00
Bernhard Reutner-Fischer
98a7a4c9d2 - misc cleanups (Cristian Ionescu-Idbohrn) 2007-08-28 21:42:44 +00:00
Ulf Samuelsson
85f54fbe21 Add git command 2007-08-24 05:31:07 +00:00
Bernhard Reutner-Fischer
5795931894 - add BR2_HAVE_MANPAGE and BR2_HAVE_INFOPAGE. Selecting these will keep the
respective documentation on your target filesystem.
2007-08-21 14:20:59 +00:00
Ulf Samuelsson
67050e1435 Add help for BUILDROOT_DL_DIR 2007-08-21 01:28:12 +00:00
Peter Korsgaard
e98ed44ad0 Added powerpc variant selection 2007-08-14 11:59:46 +00:00
Ulf Samuelsson
0f23053a22 Stop halting ARM build to configure uClibc 2007-08-13 20:22:17 +00:00
Eric Andersen
a7e49eb2af Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't
quite work yet for me, but this clearly is a huge project and not having it
quite work on the first pass is hardly unexpected.  We definately want this
stuff in buildroot.
2007-08-10 19:07:51 +00:00
Ulf Samuelsson
dd65a3cc0f Change def of BR2_USE_WCHAR to build uClibc w WCHAR support 2007-07-31 22:38:52 +00:00
Bernhard Reutner-Fischer
bbd251a075 - add possibility to select different flavours of strip (or none at all for debugging purposes) 2007-07-31 18:06:50 +00:00
Ulf Samuelsson
840325e170 Add support for prepatched toolchains 2007-07-31 14:59:58 +00:00
Ulf Samuelsson
9558f26f4e Use full AVR32 partname 2007-07-29 06:51:35 +00:00
Bernhard Reutner-Fischer
6e98cd559a - ignore itanium* 2007-07-27 13:08:47 +00:00
Ulf Samuelsson
754087858c Add configuration option allowing hiding packages needing WCHAR 2007-07-23 19:04:27 +00:00
Ulf Samuelsson
e74803b253 Use correct AVR32 chip id's 2007-07-23 07:59:56 +00:00
Ulf Samuelsson
412ca2a4d4 BSP Patch:
=========================================================
	The purpose of the BSP patch is to allow building
	several boards inside the same buildroot tree.
	For this to work, each board has to have its
	own "$(TARGET_DIR)" and all *configurable* packages
	must be rebuilt for each board.
	They are now built in the "$(PROJECT_BUILD_DIR)"
	All non configurable packages can and should still
	be built in the "$(BUILD_DIR)".
	If a package is built for one board, then when
	you build for a second board of the same architecture
	the build becomes a simple copy of the resulting
	binaries.

	-----
	Define BR2_PROJECT which will be used as the selector
	between different boards. Note that BR2_PROJECT allow
	you to build multiple root file systems for a single 
	board, and should not be confused with BR2_BOARD_NAME
	which relates to the H/W.

	-----
	Define PROJECT_BUILD_DIR as 	"PROJECT_BUILD_DIR/$(PROJECT)"
	Define BINARIES_DIR as 		"binaries/$(PROJECT)"
	Define TARGET_DIR as		"$(PROJECT_BUILD_DIR)/root"
	(some prefix/postfix may apply)

	Resulting images are stored in	"$(BINARIES_DIR)"

	-----
	Define a few new environment variables in Makefile

	PROJECT:	Stripped BR2_PROJECT
	DATE:		Date of build in YYYY-MM-DD format
	HOSTNAME:	Stripped BR2_HOSTNAME	=> /etc/hostname
	BANNER:		Stripped BR2_BANNER	=> /etc/issue

	Linux and Busybox will be built in $(PROJECT_BUILD_DIR)
	More patches will be needed later to ensure all
	configurable packages are built in this directory.
2007-07-12 13:11:03 +00:00
Bernhard Reutner-Fischer
7d8a59b40e - populate some BR2_GCC_TARGET_ARCH, BR2_GCC_TARGET_ABI, BR2_GCC_TARGET_TUNE defaults (hand-waving mode, of course untested.. ;) 2007-07-08 16:28:54 +00:00
Bernhard Reutner-Fischer
89c4864b06 - the at91 mirrors depend on BR2_TARGET_ATMEL which may add at91 support later on which itself will select BR2_TARGET_ATMEL 2007-06-06 21:05:18 +00:00
Bernhard Reutner-Fischer
ece6fe0595 - improve wording of BR2_PREFER_STATIC_LIB 2007-06-02 16:36:43 +00:00
Bernhard Reutner-Fischer
3096f34d27 - add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer to build static or dynamic libs/bins.
- depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target.
Thanks to Tom for suplying a diff which implements these.
2007-06-01 22:16:28 +00:00
Bernhard Reutner-Fischer
e3ea4c5cda - add some ARM 1176 variants 2007-03-20 14:42:42 +00:00
Bernhard Reutner-Fischer
a9612bfdd9 - Default to gzip -d -c since zcat may only support compress'ed files
according to SuS. Thanks to Heikki Lindholm for pointing this out.
2007-03-09 08:26:10 +00:00
Bernhard Reutner-Fischer
5e1f034bca - speeling fix 2007-02-09 13:35:41 +00:00
Bernhard Reutner-Fischer
7779fd7453 - add gcc-4.0.4
- add knob to enable unsupported, deprecated, obsoleted versions of packages
2007-02-09 13:31:55 +00:00
Bernhard Reutner-Fischer
20290b8183 Prepatory patch to allow AVR32/AT91 support from Ulf Samuelsson
- Introduce AVR32 target architecture "avr32"
- Introduce AVR32 target variants (AP7000/AP7010/AP7020)
- Introduce Download location for patches/packages for Atmel chips (BR2_ATMEL_MIRROR)
- Introduce Download location for Community AT91 patches/packages (BR2_AT91_PATCH_MIRROR)
2007-01-28 15:15:53 +00:00
Bernhard Reutner-Fischer
93ab6d3021 - add an experimental BR2_PREFER_IMA.
Currently disfunctional for gcc-4.2 due to PR30620 and possibly others
2007-01-28 12:03:58 +00:00
Bernhard Reutner-Fischer
bb1caf686c - convert to lowercase to match the other sub-arches 2007-01-17 13:54:12 +00:00
Bernhard Reutner-Fischer
ad505fa0ce - add ARM_IWMMXT variant since uClibc supports it 2007-01-17 13:05:14 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Bernhard Reutner-Fischer
859b9137fd - add BR2_ZCAT in preparation of fixing bug #971 2006-10-01 15:07:45 +00:00
Paul Mundt
b10bfad61e Add an sh64 target to buildroot. 2006-08-28 06:52:43 +00:00
Bernhard Reutner-Fischer
c3c100b63f - list defaults for BR2_GNU_TARGET_SUFFIX in help text
- fix a few typos
2006-07-04 11:44:32 +00:00
Paul Mundt
61aa805b9e Add support for ARM EABI. 2006-06-05 22:11:01 +00:00
Paul Mundt
d56e2b342f Split the target suffix out as a config option, for the few cases where
we have to use a different one.
2006-06-05 21:49:44 +00:00
Mike Frysinger
679fd2f932 patch by David Anders to add arm variants 2006-01-18 12:31:57 +00:00
Mike Frysinger
e420a8870a incorporate patches from marc in bug #273 to add support for nios2 2006-01-04 04:52:34 +00:00
Mike Frysinger
70ea98efbb add an option for the --build so cygwin users can utilize buildroot 2005-12-27 08:42:13 +00:00
Bernhard Reutner-Fischer
7df4de6cbb - remove BR2_TAR_VERBOSITY and add helptext to BR2_TAR_OPTIONS.
default to no additional tar options.
2005-12-10 15:36:43 +00:00
Bernhard Reutner-Fischer
ce90aae17c - add option to pass to tar for unpacking the source.
Set it to exclude .svn per default (please default to "" if inappropriate)
2005-12-10 14:59:02 +00:00
Mike Frysinger
59a63a91eb let people control location of download dir 2005-10-01 00:35:24 +00:00
Mike Frysinger
6212c19a8f allow people to build for i386/i486/i586/i686 targets since some packages (like gcc) build differently based upon the host tuplet 2005-09-24 04:55:03 +00:00
Mike Frysinger
e763ae97ec make alpha/x86_64 selectable options and export architecture endian so we can use it in uclibc config setup 2005-09-22 06:08:52 +00:00
Mike Frysinger
e4de8b2f14 add sf mirrors list in help (fix by Bernhard Fischer) and allow people to add custom prefix/suffix to builds 2005-09-18 04:41:57 +00:00
Eric Andersen
0deb9d1486 Switch default from 'unc' to 'easynews' 2005-08-13 10:55:51 +00:00
Eric Andersen
1d63e8a8d9 Make the sourceforge mirror site a config option, as sourceforge
mirrors tend to change, move, go down, etc from time to time.
2005-06-09 12:15:00 +00:00
Eric Andersen
229a7784ff http://bugs.uclibc.org/view.php?id=294
There is a mistake in buildroot/Config.in
2005-06-09 09:50:11 +00:00
Paul Mundt
d66db536c3 Add an sh2eb target. 2005-05-07 17:28:49 +00:00
Paul Mundt
c5564f7b34 Initial support for MS7206SE01 sh2a board. 2005-05-03 13:56:36 +00:00
Eric Andersen
de23d7d1a4 Small wording change 2005-02-07 22:31:56 +00:00
Eric Andersen
e30cf26cff Patch from scott: http://bugs.uclibc.org/view.php?id=42
0000042: add subversion (svn) support to buildroot

This patch adds support for subversion to checkout files, much like how CVS
already works. It uses 'SVN' macro in makefiles.
2005-01-23 11:20:30 +00:00
Eric Andersen
8e5fb3fb4a Add initial BR2_JLEVEL support, with some exceptions for apps that
have broken 'make -j' support
2004-12-11 13:01:10 +00:00
Eric Andersen
ba7c48f306 Add an option to allow people to relocate the toolchain 2004-12-11 10:25:40 +00:00
Eric Andersen
070e7c147b Patch from Volmat Alain adding SH3/SH3EB SH4EB support 2004-12-11 09:56:58 +00:00
Eric Andersen
fb1c67c1e7 Will McCammon writes:
make fails for busybox 1.0.0 on fedora core 2
because the default behavior of wget is to create
a directory structure of the remote download
server on the local filesystem.  in which case,
tar cannot find successfully downloaded files in
/buildroot/sources/dl.  patch attached.
2004-10-15 07:11:54 +00:00
Eric Andersen
bad6428272 Don't use a string to do the job of a bool 2004-10-09 21:12:25 +00:00
Mike Frysinger
1f41bb7738 support tar verbosity 2004-10-09 18:58:04 +00:00
Eric Andersen
4c4768b2f7 Fix it so we once again build the target root_fs 2004-10-09 04:34:21 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00