aboutsummaryrefslogtreecommitdiffstats
path: root/boot/barebox/barebox.mk
Commit message (Collapse)AuthorAgeFilesLines
* linux, uboot, mxs-bootlets, barebox: avoid double slash in CUSTOM_TARBALLArnout Vandecappelle (Essensium/Mind)2013-01-131-1/+1
| | | | | | | | | | | | | | | Closes #5846 The $(dir ...) function leaves a slash at the end, so that the LINUX_SITE variable for a custom tarball ends in a slash. The DOWNLOAD macro adds another slash between SITE and SOURCE, which results in a double slash in the download URL. Fix this by stripping off the final slash from the _SITE in all packages that have a custom tarball. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: use the symlink to copy the barebox binary to the images directoryGregory Hermant2012-12-101-1/+5
| | | | | | | | | | | | Barebox creates a symlink to the binary. This symlink points to the barebox.bin or to the compressed zbarebox.bin binary. Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: Allow to pass a custom configuration fileMaxime Ripard2012-11-031-5/+21
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: fix license informationSimon Dawson2012-10-091-1/+1
| | | | | | | | The barebox license should be "GPLv2 with exceptions", and not GPLv2. Signed-off-by: Simon Dawson <simond@trainfx.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: fix license informationSimon Dawson2012-08-221-1/+1
| | | | | | | The barebox license is GPLv2, and not GPLv2+. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* barebox: add license informationSimon Dawson2012-08-211-0/+3
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: patch-kernel.sh is no morePeter Korsgaard2011-09-191-1/+1
| | | | | | Thanks to Sven Neumann for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add support for custom version, tarball, git and patch dirJean-Christophe PLAGNIOL-VILLARD2011-09-181-1/+22
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-09-131-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add barebox-<n/x/menu>config and barebox-savedefconfig supportJean-Christophe PLAGNIOL-VILLARD2011-08-241-0/+10
| | | | | | [Peter: only activate if barebox is enabled, fix deps] Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionJean-Christophe PLAGNIOL-VILLARD2011-08-091-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-07-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionThomas Petazzoni2011-07-111-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-111-3/+0
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: convert to GENTARGETSThomas Petazzoni2011-07-101-36/+32
| | | | | | [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-05-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-04-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: add option to build bareboxenv for targetPeter Korsgaard2011-02-061-1/+8
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: use ccache if enabledPeter Korsgaard2011-02-011-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump versionPeter Korsgaard2011-01-061-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: bump Barebox to 2010.11Thomas Petazzoni2010-12-161-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox/u-boot/linux: don't error out on missing config when make sourcePeter Korsgaard2010-09-281-1/+3
| | | | | | As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for the Barebox bootloaderThomas Petazzoni2010-06-121-0/+61
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>