summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Release v2013.03.0v2013.03.0Sascha Hauer2013-03-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2013.02.0v2013.02.0Sascha Hauer2013-02-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Makefile: move cmd_check_file_size to Makefile.libJean-Christophe PLAGNIOL-VILLARD2013-01-201-11/+0
| | | | | | | so we can use to check pbl Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2013.01.0v2013.01.0Sascha Hauer2013-01-091-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2012-12-071-108/+3
|\
| * Makefile: move ctags and cscope support to a shell scriptAntony Pavlov2012-12-031-108/+3
| | | | | | | | | | | | | | The scripts/tags.sh file copied from linux-3.6. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.12.0v2012.12.0Sascha Hauer2012-12-071-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2012-11-161-3/+3
|\ | | | | | | | | | | | | Conflicts: commands/Makefile Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * make make -s more silentSascha Hauer2012-10-171-3/+3
| | | | | | | | | | | | | | use $(kecho) instead of echo to not output messages with make -s Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.11.0v2012.11.0Sascha Hauer2012-11-161-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Makefile: disable CDPATHWolfram Sang2012-10-251-0/+3
| | | | | | | | | | | | | | | | | | CDPATH has sideeffects when generating barebox_default_env.h (printing the directory name into the header file), causing a build failure. Disable it for the build. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Makefile: Add missing force for barebox-flash-imageSascha Hauer2012-10-121-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/defaultenv-deps'Sascha Hauer2012-10-031-1/+1
|\
| * environment generation: Fix dependenciesSascha Hauer2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dependencies for generating the environment do not work properly: - If files are removed from the defaultenv, a subsequent make will not update the default environment. - If CONFIG_DEFAULT_ENVIRONMENT_PATH changes, the default environment also will not be regenerated. This patch fixes this by introducing a cmd_env which has the content of $(ENV_FILES) in the command so that the if_changed mechanism recognizes a change when $(ENV_FILE) changes. This also results in a nice " ENV " string in the build process. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/omap'Sascha Hauer2012-10-031-1/+1
|\ \ | | | | | | | | | | | | Conflicts: Makefile
| * | scripts: add tool to create image for SPI boot on AM35xxJan Luebbe2012-10-021-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Booting from SPI on an AM35xx (and possibly other TI SOCs) requires a special format: - 32 bit image size in big-endian - 32 bit load address in big-endian - binary image converted from little- to big-endian The mk-am35xx-spi-image tool converts barebox.bin to this format. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2012-10-031-1/+18
|\ \
| * | Makefile: add target to produce a SPL compatible uImageJan Luebbe2012-09-291-1/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly useful during the initial port of barebox to a new board which is supported by u-boot. It also allows starting barebox from a SRAM-based u-boot SPL. A different load address can be set like this: make barebox.uimage UIMAGE_BASE=0x80000000 Also add barebox.ubl to CLEAN_FILES. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/make'Sascha Hauer2012-10-031-5/+11
|\ \
| * | kbuild: keep the barebox binary accessibleJan Luebbe2012-09-061-5/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | When building a special image from the original (compressed or not) binary, to not overwrite KBUILD_BINARY. This allows producing multiple images (such as MLO, UBL, ...) from the (z)barebox.bin. In the case where no special image is used, KBUILD_IMAGE is set to KBUILD_BINARY. This patch was developed together with Sascha Hauer. Thanks! Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / Release v2012.10.0v2012.10.0Sascha Hauer2012-10-031-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/pbl'Sascha Hauer2012-09-051-13/+17
|\
| * Makefile: generate a barebox-flash-image linkSascha Hauer2012-08-121-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | Depending on the SoC a barebox.bin, barebox.netx, barebox.s5p, MLO image is generated. With pbl support there now is an additional arch/arm/pbl/zbarebox.bin image. To help the user to determine which image should be flashed to his device, generate a barebox-flash-image link. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Makefile.lib: add disasm and ln commandsSascha Hauer2012-08-121-3/+1
| | | | | | | | | | | | | | | | | | | | disasm: For generating an disasssembly of an ELF file ln: For creating a softlink Use the disasm command for generating barebox.S Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add pre-bootloader (pbl) image supportJean-Christophe PLAGNIOL-VILLARD2012-08-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for creating a pre-bootloader binary for - nand boot - mmc boot - compressed image The pbl will be incharge of the lowlevel init if needed. The barebox will skip it. Import string functions from linux 3.4 (arch/arm/boot/compressed/string.c) and implement a dummy panic. For now on introduce dummy zbarebox* targets and c code that will contain later the decompressor. This only implemeted on ARM. This patch is based on Sascha Hauer <s.hauer@pengutronix.de> Add compressed image support patch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * kbuild: add pre-bootloader (pbl) targetJean-Christophe PLAGNIOL-VILLARD2012-08-031-1/+4
| | | | | | | | | | | | | | | | | | | | This will allow to link compiled object to the built-in-pbl.o across the source tree that will be finally link to the pbl. Now we compile the source %.c in pbl-%.o and provide -D__PBL__ so we can known in the source when it's compile for barebox or the pbl. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Release v2012.09.0v2012.09.0Sascha Hauer2012-09-051-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2012.08.0v2012.08.0Sascha Hauer2012-08-011-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Makefile: update barebox version if CONFIG_KALLSYMS is not setSvetlana Khafizova2012-07-231-1/+2
| | | | | | | | | | | | | If CONFIG_KALLSYMS is not set then barebox version is always "#0". By-default on mips boards CONFIG_KALLSYMS don't set, so barebox version does not increase after every build. This patch fixes the problem. Signed-off-by: Svetlana Khafizova <sv.khafizova@gmail.com> Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Acked-by:: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2012-07-021-1/+2
|\
| * Makefile: echo size check error to stderrSascha Hauer2012-06-301-1/+1
| | | | | | | | | | | | To be able to see it when in my build tests stdout goes to /dev/null Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Deal properly with scripts/bareboxenv-targetRoberto Nibali2012-06-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | The bareboxenv-target binary is automatically created but never deleted nor is it excluded from git tracking. This patch remedies the situation by adding scripts/bareboxenv-target to .gitignnore and adjusting the list of to be deleted files of the 'clean' target in the core Makefile. Signed-off-by: Roberto Nibali <rnibali@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.07.0v2012.07.0Sascha Hauer2012-07-021-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-06-061-1/+1
|\
| * S5P boot header and image generatorAlexey Galakhov2012-05-211-1/+1
| | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.06.0v2012.06.0Sascha Hauer2012-06-061-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-05-031-1/+3
|\ | | | | | | | | | | | | Conflicts: common/hush.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Makefile: add barebox.srec to 'clean'Antony Pavlov2012-04-301-1/+2
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Makefile: fix build timestampsSascha Hauer2012-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | This patch adds the scripts/mkcompile_h from the Kernel. This gives us additional information about the build like who built this binary and with which compiler. Currently the only information used is the build timestamp and the generation number. This also fixes the build timestamp in the banner which is now correct even with consecutive builds without making clean in between. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.05.0v2012.05.0Sascha Hauer2012-05-031-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-04-051-2/+2
|\
| * Add barebox.map and compressed default_env to distcleanAlexander Shiyan2012-04-021-2/+2
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.04.0v2012.04.0Sascha Hauer2012-04-051-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.03.0v2012.03.0Sascha Hauer2012-03-061-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-02-071-1/+13
|\
| * add config to check if the size of barebox exceed the target sizeJean-Christophe PLAGNIOL-VILLARD2012-01-171-0/+11
| | | | | | | | | | | | | | CONFIG_BAREBOX_MAX_IMAGE_SIZE will allow to detected silent oversize result Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * kconfig: sync to linux 3.2-rc4Jean-Christophe PLAGNIOL-VILLARD2012-01-111-1/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Release v2012.02.0v2012.02.0Sascha Hauer2012-02-061-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-01-051-0/+6
|\
| * Makefile: disable warning: generating trampoline in objectSascha Hauer2012-01-021-0/+2
| | | | | | | | | | | | Our stack is executable, so disable this warning Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>