summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2009-01-01buildroot: set SHELL instead of messing around with CONFIG_SHELLPeter Korsgaard
Simply set SHELL to bash instead of adding CONFIG_SHELL to all shell invocations. CONFIG_SHELL is still set, as it is used by kconfig.
2008-11-07Makefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)Peter Korsgaard
It causes more trouble than it's worth, and we should move to building those host tools ourselves to not get into version issues anyway.
2008-11-05Build $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rulesHans-Christian Egtvedt
This patch will add a rule to top level Makefile to depend on the $(PROJECT_BUILD_DIR)/autotools-stamps as a required directory. Hence it will be generated if missing in stead of made when the $(PROJECT_BUILD_DIR)/.root rule is triggered. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level MakefileHans-Christian Egtvedt
This patch will create the autotools-stamps directory early in the build process, thus making it possible for non Makefile.autotools.in packages to use this directory to hold stamp files. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-04Makefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dirPeter Korsgaard
2008-11-03Makefile: ignore glib-genmarshal in staging_dirPeter Korsgaard
HOST_GLIB is set to the path that contains the host glib tool set and is used when building packages using glib. The buildroot top level Makefile sets HOST_GLIB using which to find the path where glib-genmarshal is located. The problem is that a cross compiled version of glib-genmarshal is also put in the build_ARCH/staging_dir/usr/bin directory when the package libglib2 is built. This cross compiled version will typically not run on the host system. Fix it by ignoring staging_dir in the which output. Closes #5934 jacmet: fixed to work correctly if it's only found in staging_dir.
2008-11-03External toolchain support improvementsPeter Korsgaard
Improve external toolchain support * Do not put kernel-headers in the dependencies of BASE_TARGETS in the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers are already supposed to be part of the external toolchain, so there's no need to download, extract and install them. * In the configuration system, don't display the kernel headers version selection list when an external toolchain is selected. This is implemented by moving the source "toolchain/kernel-headers/Config.in" inside the if BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2. * Change the description and help message of the BR2_LARGEFILE, BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in toolchain/external-toolchain/Config.in. In the case of an external toolchain, the semantic of these options is not to enable large file support, IPV6 or RPC (since the toolchain is already compiled, it has been decided previously). Their semantic is to let Buildroot know about the characteristics of the external toolchain being used. As an improvement, we could guess these values automatically: - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in bits/uClibc_config.h in the libc headers directory. - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the same file - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in the same file - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep -- "--with-float=soft" But I'm not sure how this would be possible, since these values are used at configuration-time by other configuration options, not only at build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-09-11Applied patch from Brian Foster <brian.foster@innova-card.com>:Hamish Moffatt
make "make clean" remove the .root stamp, so that everything will be reinstalled properly on a subsequent build. (bug id 4304) Also remove new autotools-stamps directory.
2008-08-04buildroot: remove trailing spacesPeter Korsgaard
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
2008-07-24Makefile.autotools.in: fix make source-check/external-deps differentlyPeter Korsgaard
The MAKELEVEL test is not that robust; It fails with the recent log support or if buildroot is driven from an external Makefile. Rework it to instead detect source-check/external-deps by the fact that they set SPIDER.
2008-07-07Fix logUlf Samuelsson
2008-07-07Fix logUlf Samuelsson
2008-07-07Add slashes to allow TOPDIR to end without a slash in the futureUlf Samuelsson
2008-07-07Remove some debug messagesUlf Samuelsson
2008-07-06Replace configuring GLIB with autodetectUlf Samuelsson
2008-07-05Add configuration possibility for host Gnome Lib installationUlf Samuelsson
2008-07-05Add version number to logUlf Samuelsson
2008-07-04Add 'build with log'Ulf Samuelsson
2008-07-04Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson
locations for prepatched toolchain to be under the toolchain directory
2008-07-01Makefile: remove target pkgconfig files if BR2_HAVE_DEVFILES isn't enabledPeter Korsgaard
2008-06-23Makefile: don't include .config from TOPDIRPeter Korsgaard
If we ever want to support building out of tree, having the .config in the tree is probably not what we want.
2008-06-19package/config: cygwin fixPeter Korsgaard
- pass HOST_LOADLIBES down to make mconf for cygwin - fix link-order WRT HOST_LOADLIBES From Bernhards tree (91018d95)
2008-06-13toolchain: also setup kernel headers when ext toolchain is usedPeter Korsgaard
Provide kernel headers when ext toolchain is used, so we can compile packages which need them.
2008-05-31distclean: Don't delete $(IMAGE)Peter Korsgaard
There is not much point in deleting $(IMAGE) as the entire binaries dir is removed. Furthermore, $(IMAGE) is a prefix rather than a file name.
2008-05-11Use local time (Thanks Mike)Ulf Samuelsson
2008-03-31Makefile: revert broken ccache (r21525) for now.Peter Korsgaard
2008-03-30Makefile: merge CVS and .svn find invocationPeter Korsgaard
2008-03-30Makefile: fix typo (.empty files, not dirs)Peter Korsgaard
2008-03-30target_skeleton: mark empty directories with .empty filesPeter Korsgaard
Mark empty directories in target skeletons with .empty files and remove them while copying to target (like it's already done for svn and cvs files) to better support version control system which don't handle empty directories (E.G. git-svn).
2008-03-30Ensure shell environment is handled correctlyUlf Samuelsson
2008-03-30Easy update of defconfigUlf Samuelsson
2008-03-28Use BUSYBOX_LOCAL shell variable, if definedUlf Samuelsson
2008-03-28Added ccache support and removed grub from defconfig due to brokenness at ↵Jason Spence
the moment.
2008-03-11more robust development files in target handlerJohn Voltz
2008-03-10renamed variable, removed uppercase config textJohn Voltz
2008-03-10added dev files in target optionJohn Voltz
2008-03-04buildroot: add kernel-headers to base targets so it gets handled by ↵Peter Korsgaard
external-deps
2008-03-04buildroot: add external-deps targetPeter Korsgaard
Add external-deps target to show what external files are needed to recreate the build.
2007-10-07Do not create new directories in external toolchainUlf Samuelsson
2007-09-29- Nowadays there is no need to strip the config symbols anymoreBernhard Reutner-Fischer
2007-09-28- add FC, remove some duplicate entries, cleanupBernhard Reutner-Fischer
- fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS
2007-09-28Add some more host toolsUlf Samuelsson
2007-09-28Cleanup cross toolchain admin, split uclibc-menuconfig into same + ↵Ulf Samuelsson
uclibc-update to avoid overwriting board support file
2007-09-28Add administration for linux,uclibc and mainUlf Samuelsson
2007-09-27- for various reasons i will need an explicit ordering of the toolchain includesBernhard Reutner-Fischer
2007-09-26- revert some bad checkins, fixup bad settings in atmel targets and move the ↵Bernhard Reutner-Fischer
gcc target abi back to a place where the other arch-specific settings live
2007-09-23Ensure make %_defconfig works without error - now silentlyUlf Samuelsson
2007-09-23fix error when doing 'make %_defconfigUlf Samuelsson
2007-09-22- rename the gcc base_target to the more appropriate term cross_compilerBernhard Reutner-Fischer
2007-09-22- set and export VERBOSE if V= was requestedBernhard Reutner-Fischer