summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: apply xtensa specific TARGET_SKELETON_PATCH if availableMaxim Grigoriev2009-07-241-0/+3
| | | | | | | Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Older versions of 'find' don't have the '-delete' optionWade Berrier2009-04-281-4/+4
| | | | Use find's '-print0' and 'xargs -0' as an equivalent alternative.
* Makefile: distclean: remove correct dirsPeter Korsgaard2009-04-171-3/+2
| | | | | | Remove toolchain build dir, and don't try to remove the non-existing include dir. Also don't explicitly remove the kernel image located in binaries as we're already removing that dir.
* Makefile: add target-finalize for common filesystem cleanupPeter Korsgaard2009-04-071-2/+10
| | | | And remove from each rootfs variant.
* Makefile: add BR2_ENABLE_LOCALE_PURGE to purge unwanted localesPeter Korsgaard2009-04-061-0/+22
| | | | | | | | | Add BR2_ENABLE_LOCALE_PURGE / BR2_ENABLE_LOCALE_WHITELIST options to remove unwanted locales from the target rootfs. Handy for stuff like the gtk stack, which comes with ~25 MB locales. Works similar to localepurge in Debian, E.G. you provide a white list of wanted locales, and everything else is removed.
* Makefile: target-devfiles: combine .a / .la find invocationPeter Korsgaard2009-04-061-5/+3
|
* package: add STAMP_DIR and use for host buildsPeter Korsgaard2009-03-191-5/+5
| | | | | | | | | | | | | | Move stamp (dependency) files outside the (version specific) source directories, so other packages can hardcode dependencies on them instead of having to use <PACKAGE>_VERSION variables. This is important as the variables in the make rules are evaluated when the rules is seen, which might be before the dependent makefile is parsed (and hence <PACKAGE>_VERSION variable is known, screwing up stuff. The downside of this is that the package isn't automatically rebuilt when the version changes (E.G. by a svn update) and you now also have to remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
* Makefile: introduce $(HOST_DIR) for host binariesPeter Korsgaard2009-03-161-3/+3
| | | | | Add HOST_DIR directory handling. HOST_DIR should be used just like STAGING_DIR, but for host files instead of target ones.
* make update shoudl save to PROJECT_defconfigUlf Samuelsson2009-01-311-1/+1
|
* make flush, should always be visibleUlf Samuelsson2009-01-291-2/+3
|
* Makefile: fix typo introduced in r25601Peter Korsgaard2009-01-261-1/+1
|
* Fix spelling error in Makefile commentUlf Samuelsson2009-01-261-2/+2
|
* libglib2: move HOST_GLIB detection to glib packagePeter Korsgaard2009-01-261-3/+0
| | | | | Makes more sense to have it here, and easier to change once we start building host-glib.
* Flush configuration cache, needed if config has changedUlf Samuelsson2009-01-251-0/+4
|
* Makefile: globally define variables used at different placesPeter Korsgaard2009-01-251-0/+5
| | | | | | $(comma) and $(space) are used in packages and the toolchain. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
* Add help for make configuredUlf Samuelsson2009-01-221-0/+1
|
* Makefile: update copyrightPeter Korsgaard2009-01-161-0/+1
|
* Makefile: implement make releasePeter Korsgaard2009-01-151-0/+6
|
* Mention the saveconfig and getconfig targets in make helpHans-Christian Egtvedt2009-01-081-0/+2
| | | | | | | | | I often find myself forgetting what those targets were called, and I imagine others may not even be aware of their existence. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* buildroot: set SHELL instead of messing around with CONFIG_SHELLPeter Korsgaard2009-01-011-13/+17
| | | | | 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.
* Makefile: revert HOST_GLIB_BIN staging_dir fix (r23920,23923)Peter Korsgaard2008-11-071-2/+1
| | | | | 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.
* Build $(PROJECT_BUILD_DIR)/autotools-stamps with normal Makefile rulesHans-Christian Egtvedt2008-11-051-7/+6
| | | | | | | | | | 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>
* Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level MakefileHans-Christian Egtvedt2008-11-051-0/+1
| | | | | | | | | 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>
* Makefile: glib-genmarshal: use BR2_STAGING_DIR instead of hardcoded staging_dirPeter Korsgaard2008-11-041-1/+1
|
* Makefile: ignore glib-genmarshal in staging_dirPeter Korsgaard2008-11-031-1/+2
| | | | | | | | | | | | | | | | | | 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.
* External toolchain support improvementsPeter Korsgaard2008-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Applied patch from Brian Foster <brian.foster@innova-card.com>:Hamish Moffatt2008-09-111-2/+2
| | | | | | 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.
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-6/+6
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Makefile.autotools.in: fix make source-check/external-deps differentlyPeter Korsgaard2008-07-241-1/+1
| | | | | | | | 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.
* Fix logUlf Samuelsson2008-07-071-2/+1
|
* Fix logUlf Samuelsson2008-07-071-3/+5
|
* Add slashes to allow TOPDIR to end without a slash in the futureUlf Samuelsson2008-07-071-2/+2
|
* Remove some debug messagesUlf Samuelsson2008-07-071-14/+5
|
* Replace configuring GLIB with autodetectUlf Samuelsson2008-07-061-6/+5
|
* Add configuration possibility for host Gnome Lib installationUlf Samuelsson2008-07-051-2/+12
|
* Add version number to logUlf Samuelsson2008-07-051-2/+11
|
* Add 'build with log'Ulf Samuelsson2008-07-041-0/+3
|
* Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson2008-07-041-0/+2
| | | | locations for prepatched toolchain to be under the toolchain directory
* Makefile: remove target pkgconfig files if BR2_HAVE_DEVFILES isn't enabledPeter Korsgaard2008-07-011-1/+1
|
* Makefile: don't include .config from TOPDIRPeter Korsgaard2008-06-231-1/+1
| | | | | If we ever want to support building out of tree, having the .config in the tree is probably not what we want.
* package/config: cygwin fixPeter Korsgaard2008-06-191-0/+2
| | | | | | | - pass HOST_LOADLIBES down to make mconf for cygwin - fix link-order WRT HOST_LOADLIBES From Bernhards tree (91018d95)
* toolchain: also setup kernel headers when ext toolchain is usedPeter Korsgaard2008-06-131-1/+1
| | | | | Provide kernel headers when ext toolchain is used, so we can compile packages which need them.
* distclean: Don't delete $(IMAGE)Peter Korsgaard2008-05-311-1/+1
| | | | | 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.
* Use local time (Thanks Mike)Ulf Samuelsson2008-05-111-1/+1
|
* Makefile: revert broken ccache (r21525) for now.Peter Korsgaard2008-03-311-11/+0
|
* Makefile: merge CVS and .svn find invocationPeter Korsgaard2008-03-301-2/+1
|
* Makefile: fix typo (.empty files, not dirs)Peter Korsgaard2008-03-301-1/+1
|
* target_skeleton: mark empty directories with .empty filesPeter Korsgaard2008-03-301-0/+1
| | | | | | | 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).
* Ensure shell environment is handled correctlyUlf Samuelsson2008-03-301-7/+9
|
* Easy update of defconfigUlf Samuelsson2008-03-301-0/+3
|