Commit Graph

241 Commits

Author SHA1 Message Date
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
"Steven J. Hill"
9a4ca08e5f Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next. 2007-07-06 04:26:32 +00:00
Bernhard Reutner-Fischer
afc61c6e8e - adjust infrastructure for new kconfig 2007-06-28 10:47:05 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer
de18b661cf - introduce TARGET_CONFIGURE_ARGS to hold presets for configure for target packages 2007-06-27 09:48:23 +00:00
Bernhard Reutner-Fischer
a48d8f5414 - add BR2_INET_IPV6 and BR2_INET_RPC
TODO: use $(DISABLE_IPV6) in packages instead of a gazillion different hackish ways that are currently in there
2007-06-26 16:34:45 +00:00
Bernhard Reutner-Fischer
c77052465a - pass -msoft-float if BR2_SOFT_FLOAT is set. Closes bug #1069 2007-06-26 14:02:29 +00:00
Bernhard Reutner-Fischer
8027784c35 - add full sysroot support for non-ancient toolchains.
- start to separate usr/lib and lib to match normal system-layout
2007-06-20 11:26:36 +00:00
"Steven J. Hill"
116acadec9 Add another include path to the CFLAGS. 2007-05-07 04:01:24 +00:00
Bernhard Reutner-Fischer
4fc1724e27 - put staging_dir/usr/bin into the target path, so X-stuff can find freetype-config.
Closes #1233
2007-03-20 17:58:36 +00:00
"Steven J. Hill"
02f71aab47 Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>. 2007-02-06 18:19:38 +00:00
Bernhard Reutner-Fischer
4bbeb74b2e - the $(XSERVER) target can be provided by different X server impls. Adjust users
- rdesktop needs an xserver impl
2007-02-04 19:47:41 +00:00
Bernhard Reutner-Fischer
b82245322e - make absolutely sure that we are not trying to go into jobserver mode for MAKE1 2007-01-30 17:33:53 +00:00
Eric Andersen
4ac03cc86a filter pkgconfig output to force it do use our staging_dir and not
try to use the system libraries as it is inclined to do
2007-01-14 03:48:13 +00:00
Bernhard Reutner-Fischer
3c9baee374 - use centralized DISABLE_LARGEFILE
- nil CXX if there isn't one
2006-12-21 13:51:53 +00:00
Bernhard Reutner-Fischer
761ca0d1a5 - Quote TARGET_PATH. Closes #1107. 2006-12-08 12:45:45 +00:00
Bernhard Reutner-Fischer
4e5da4289e - add and use a HOSTCXX variable. 2006-11-20 16:09:43 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Eric Andersen
290615edc1 we use BR2_ENABLE_LOCALE not ENABLE_LOCALE 2006-10-17 16:57:02 +00:00
Bernhard Reutner-Fischer
6fe5f48cbf - add missing hung from the BR2_ZCAT introduction 2006-10-01 18:34:45 +00:00
Bernhard Reutner-Fischer
e4a303dd69 - fix bug #1042; Hardcoding system-paths is a bad idea. If some of them are not
in PATH seen by make then most likely for a very good reason. Set your PATH accordingly if you need /bin or /usr/local/bin et al.
2006-09-30 21:08:56 +00:00
Bernhard Reutner-Fischer
e16425c389 - pickup the PATH the user has set.
Fixes HOSTCC et al being installed in e.g. /opt where it wasn't found before.
2006-08-24 19:35:47 +00:00
Eric Andersen
ddb5ebab06 move TAR_OPTIONS to its rightful place 2006-07-18 22:58:58 +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
Bernhard Reutner-Fischer
6ff820d647 - pass $(TARGET_CROSS)strip as STRIP to the packages. 2006-03-10 08:44:16 +00:00
David Anders
54f724280d add TARGET_CXX per case 0000593 2006-01-25 17:28:23 +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
Mike Frysinger
ea26d735ae force CPP 2005-12-17 01:34:03 +00:00
Mike Frysinger
59a63a91eb let people control location of download dir 2005-10-01 00:35:24 +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
"Steven J. Hill"
6b632ad624 Build 'file' for the host as well as the target. If the host system has a version older than that being built for buildroot, the target build will fail. So, we build 'file' for the host and add actually add '$(TOOL_BUILD_DIR)/bin' to the TARGET_PATH so that it takes precedence over the host system version. 2005-08-30 03:35:37 +00:00
Eric Andersen
29353e58bc Change root_fs_$(ARCH) to rootfs.$(ARCH) 2005-08-13 10:57:08 +00:00
"Steven J. Hill"
d5871cf8ad Fix bzip2 cross build error associated with host ranlib being
used instead of cross target ranlib.
2005-05-18 03:42:51 +00:00
Mike Frysinger
c76539aa58 SnarlCat writes: add OBJCOPY to build environment Bug #213 2005-04-07 00:25:21 +00:00
Eric Andersen
9cc9476c35 more dhcp updates 2005-02-16 19:48:03 +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
Tim Riker
788ddd9c45 nuke sources/ - you might want to move sources/dl/ to dl/ to avoid redownloading the world 2004-10-27 18:13:38 +00:00
Eric Andersen
44eedc5c44 facelift step number two 2004-10-09 02:49:33 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00