summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2007-07-12 BSP Patch:Ulf Samuelsson
========================================================= 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-11Define date of build as DATE, use in mtd/mtd.mkUlf Samuelsson
2007-07-09- fix evaluation of HOSTCFLAGS for kconfig. Closes #1415Bernhard Reutner-Fischer
2007-07-09- wipe config related files in distcleanBernhard Reutner-Fischer
2007-07-09sh needs '-c' to run a binaryUlf Samuelsson
2007-07-08- add help targetBernhard Reutner-Fischer
2007-07-08- silence a cosmetic warning (closes several issues in mantis).Bernhard Reutner-Fischer
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.
2007-07-06Remove some unwanted white space in MakefileUlf Samuelsson
2007-06-28- adjust infrastructure for new kconfigBernhard Reutner-Fischer
2007-06-25- Search for defconfigs in target, not entire treeBernhard Reutner-Fischer
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)
2007-06-24- forgot to apply this hunk that should have belonged to r18904Bernhard Reutner-Fischer
2007-06-20- add full sysroot support for non-ancient toolchains.Bernhard Reutner-Fischer
- start to separate usr/lib and lib to match normal system-layout
2007-06-19Hide troublesome environment variables from sub processesPeter Korsgaard
(E.G. screws up gdb, busybox, ..)
2007-06-07- provide a "source-check" target that tries to download all packages withBernhard Reutner-Fischer
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.
2007-06-02- fixup the extension for the host and start to honor BR2_PREFER_STATIC_LIBBernhard Reutner-Fischer
2007-06-02- move setting up the extensions to correct place (like i said but tom ↵Bernhard Reutner-Fischer
didn't do..)
2007-06-02- correct extensions for apple (thanks Heikki Lindholm for pointing this out)Bernhard Reutner-Fischer
2007-06-01- add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer ↵Bernhard Reutner-Fischer
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-05-07Create 'bin' directory in staging area."Steven J. Hill"
2007-04-28Create symlink for 'usr/include' in the staging directory so that packages ↵"Steven J. Hill"
like zlib and others who expect that to exist will install properly.
2007-04-06- make sure to download fakeroot if neededBernhard Reutner-Fischer
2007-02-12- add cc-option and use it to check for stuff that is benefical for PREFER_IMABernhard Reutner-Fischer
- backport the libbackend.o gcov-iov.h dependency fixup from 4.2 to 4.0
2007-02-06Support building using an external toolchain. Questions to the mailing list ↵"Steven J. Hill"
and all other comments to <biteme@devnull.com>.
2007-01-30- generalize the menuconfig linux kernel supportBernhard Reutner-Fischer
- simplify toplevel mkdir rules a tiny bit
2007-01-28- make sure to add board specific targets before the final generation of the ↵Bernhard Reutner-Fischer
filesystems/tarballs. Until now, we did created the fs and only after that built/installed grub et al
2007-01-19- make distclean didn't clean dialog binaries. Closes #1039Bernhard Reutner-Fischer
2007-01-10link $(STAGING_DIR)/usr/lib to $(STAGING_DIR)/libEric Andersen
to make glib2 (and packages with similar confusion) work properly, while still being able to cross compile
2006-12-02- andersee, what was that good for? It just slows down rebuilds as it delves ↵Bernhard Reutner-Fischer
into each sub-file needlessly.. Ripping out.
2006-11-17- add and use BR2_BZCAT config option.Bernhard Reutner-Fischer
2006-11-17- check if busybox' Rules.mak exists.Bernhard Reutner-Fischer
- add target dirs to ensure that all required dirs do exist so make busybox-menuconfig works in a pristine checkout.
2006-11-15make certain the target directory existsEric Andersen
2006-11-15subversion makes it so we do not need a separate tarballEric Andersen
to store empty directories and symlinks for the target_skeleton.
2006-10-01- use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer
not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-07-18configuring uClibc depends on first having kernel headers in placeEric Andersen
2006-07-18put sed check in the correct placeEric Andersen
2006-07-18move TAR_OPTIONS to its rightful placeEric Andersen
2006-06-22Resolves Bug #182 for buildroot. It works nice to pull in default"Steven J. Hill"
configuration files for targets. More information on the bug database page at <http://bugs.uclibc.org/view.php?id=182>.
2006-05-26s/dependancies/dependencies/Mike Frysinger
2006-04-19when copying, be forceful about it to gratuitously overwrite symlinksEric Andersen
2006-04-07make sure things still work even when fakeroot is not in active useEric Andersen
2006-01-25removed clean and distclean from the noconfig targets per case 0000232David Anders
2005-12-10- remove BR2_TAR_VERBOSITY and add helptext to BR2_TAR_OPTIONS.Bernhard Reutner-Fischer
default to no additional tar options.
2005-12-10- add option to pass to tar for unpacking the source.Bernhard Reutner-Fischer
Set it to exclude .svn per default (please default to "" if inappropriate)
2005-09-09Allan Clark writes:Mike Frysinger
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 :(
2005-09-08only build host-file if we need itMike Frysinger
2005-08-30Build 'file' for the host as well as the target. If the host system has a ↵"Steven J. Hill"
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-04Allow packages to use fakeroot. To accomodate this, convert allEric Andersen
target filesystem creation tools to also use fakeroot.
2005-04-27Make defconfig work properlyEric Andersen
2005-04-15Change all instances of 'ln -sf' to 'ln -snf'Eric Andersen
2005-02-17more changes towards better board supportEric Andersen