summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* BSP Patch:Ulf Samuelsson2007-07-121-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================================================= 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.
* Define date of build as DATE, use in mtd/mtd.mkUlf Samuelsson2007-07-111-0/+1
|
* - fix evaluation of HOSTCFLAGS for kconfig. Closes #1415Bernhard Reutner-Fischer2007-07-091-2/+5
|
* - wipe config related files in distcleanBernhard Reutner-Fischer2007-07-091-1/+2
|
* sh needs '-c' to run a binaryUlf Samuelsson2007-07-091-5/+5
|
* - add help targetBernhard Reutner-Fischer2007-07-081-2/+18
|
* - silence a cosmetic warning (closes several issues in mantis).Bernhard Reutner-Fischer2007-07-081-11/+32
| | | | This also provides a nice up-to-date filestamp if something got reconfigured (e.g. c++ support got toggled) that can be used in the future to depend accordingly.
* Remove some unwanted white space in MakefileUlf Samuelsson2007-07-061-1/+1
|
* - adjust infrastructure for new kconfigBernhard Reutner-Fischer2007-06-281-2/+56
|
* - Search for defconfigs in target, not entire treeBernhard Reutner-Fischer2007-06-251-4/+5
| | | | | | | | | This patch changes the way the top level Makefile searches for a <board>_defconfig file, it will only look in the target/ directory and its sub directories. The patch also enables loading a defconfig even if there already is a .config. (Hans-Christian Egtvedt)
* - forgot to apply this hunk that should have belonged to r18904Bernhard Reutner-Fischer2007-06-241-1/+1
|
* - add full sysroot support for non-ancient toolchains.Bernhard Reutner-Fischer2007-06-201-5/+11
| | | | - start to separate usr/lib and lib to match normal system-layout
* Hide troublesome environment variables from sub processesPeter Korsgaard2007-06-191-0/+7
| | | | (E.G. screws up gdb, busybox, ..)
* - provide a "source-check" target that tries to download all packages withBernhard Reutner-Fischer2007-06-071-2/+14
| | | | | | wget's spider-mode (i.e. just see if the server says the file is there without actually downloading the files. Convenient to check for unavailable source-packages.
* - fixup the extension for the host and start to honor BR2_PREFER_STATIC_LIBBernhard Reutner-Fischer2007-06-021-16/+16
|
* - move setting up the extensions to correct place (like i said but tom ↵Bernhard Reutner-Fischer2007-06-021-21/+29
| | | | didn't do..)
* - correct extensions for apple (thanks Heikki Lindholm for pointing this out)Bernhard Reutner-Fischer2007-06-021-2/+2
|
* - add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer ↵Bernhard Reutner-Fischer2007-06-011-0/+25
| | | | | | | 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.
* Create 'bin' directory in staging area."Steven J. Hill"2007-05-071-0/+1
|
* Create symlink for 'usr/include' in the staging directory so that packages ↵"Steven J. Hill"2007-04-281-0/+1
| | | | like zlib and others who expect that to exist will install properly.
* - make sure to download fakeroot if neededBernhard Reutner-Fischer2007-04-061-1/+1
|
* - add cc-option and use it to check for stuff that is benefical for PREFER_IMABernhard Reutner-Fischer2007-02-121-0/+7
| | | | - backport the libbackend.o gcov-iov.h dependency fixup from 4.2 to 4.0
* Support building using an external toolchain. Questions to the mailing list ↵"Steven J. Hill"2007-02-061-0/+4
| | | | and all other comments to <biteme@devnull.com>.
* - generalize the menuconfig linux kernel supportBernhard Reutner-Fischer2007-01-301-8/+2
| | | | - simplify toplevel mkdir rules a tiny bit
* - make sure to add board specific targets before the final generation of the ↵Bernhard Reutner-Fischer2007-01-281-1/+0
| | | | | | filesystems/tarballs. Until now, we did created the fs and only after that built/installed grub et al
* - make distclean didn't clean dialog binaries. Closes #1039Bernhard Reutner-Fischer2007-01-191-0/+1
|
* link $(STAGING_DIR)/usr/lib to $(STAGING_DIR)/libEric Andersen2007-01-101-0/+2
| | | | | to make glib2 (and packages with similar confusion) work properly, while still being able to cross compile
* - andersee, what was that good for? It just slows down rebuilds as it delves ↵Bernhard Reutner-Fischer2006-12-021-1/+2
| | | | into each sub-file needlessly.. Ripping out.
* - add and use BR2_BZCAT config option.Bernhard Reutner-Fischer2006-11-171-1/+1
|
* - check if busybox' Rules.mak exists.Bernhard Reutner-Fischer2006-11-171-2/+3
| | | | - add target dirs to ensure that all required dirs do exist so make busybox-menuconfig works in a pristine checkout.
* make certain the target directory existsEric Andersen2006-11-151-0/+1
|
* subversion makes it so we do not need a separate tarballEric Andersen2006-11-151-5/+2
| | | | to store empty directories and symlinks for the target_skeleton.
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
* configuring uClibc depends on first having kernel headers in placeEric Andersen2006-07-181-1/+1
|
* put sed check in the correct placeEric Andersen2006-07-181-1/+1
|
* move TAR_OPTIONS to its rightful placeEric Andersen2006-07-181-3/+0
|
* Resolves Bug #182 for buildroot. It works nice to pull in default"Steven J. Hill"2006-06-221-1/+6
| | | | | configuration files for targets. More information on the bug database page at <http://bugs.uclibc.org/view.php?id=182>.
* s/dependancies/dependencies/Mike Frysinger2006-05-261-1/+1
|
* when copying, be forceful about it to gratuitously overwrite symlinksEric Andersen2006-04-191-1/+1
|
* make sure things still work even when fakeroot is not in active useEric Andersen2006-04-071-1/+1
|
* removed clean and distclean from the noconfig targets per case 0000232David Anders2006-01-251-2/+1
|
* - remove BR2_TAR_VERBOSITY and add helptext to BR2_TAR_OPTIONS.Bernhard Reutner-Fischer2005-12-101-5/+0
| | | | default to no additional tar options.
* - add option to pass to tar for unpacking the source.Bernhard Reutner-Fischer2005-12-101-2/+4
| | | | Set it to exclude .svn per default (please default to "" if inappropriate)
* Allan Clark writes:Mike Frysinger2005-09-091-1/+4
| | | | | | | | | Quick patch to avoid deleting my directory of RPM Sources. I tend to use buildroot as "make DL_DIR=/.rh/SOURCES", with the rpm topdir set to $HOME/.rh in my .rpmmacros -- allows me to build RPMs as non-root, and share the source with buildroot. Problem is, buildroot likes to delete my directory :(
* only build host-file if we need itMike Frysinger2005-09-081-1/+1
|
* Build 'file' for the host as well as the target. If the host system has a ↵"Steven J. Hill"2005-08-301-1/+1
| | | | 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.
* Allow packages to use fakeroot. To accomodate this, convert allEric Andersen2005-08-041-0/+1
| | | | target filesystem creation tools to also use fakeroot.
* Make defconfig work properlyEric Andersen2005-04-271-1/+1
|
* Change all instances of 'ln -sf' to 'ln -snf'Eric Andersen2005-04-151-1/+1
|
* more changes towards better board supportEric Andersen2005-02-171-3/+8
|