summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * Makefile: disable unused-but-set-variable warningSascha Hauer2012-01-021-0/+4
| | | | | | | | | | | | This produces too many false positives. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2012.01.0v2012.01.0Sascha Hauer2012-01-041-2/+2
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2011.12.0v2011.12.0Sascha Hauer2011-12-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-11-091-1/+1
|\
| * Merge branch 'master' into nextSascha Hauer2011-10-231-1/+1
| |\
| * \ Merge branch 'master' into nextSascha Hauer2011-10-141-1/+1
| |\ \
| * | | move digest to crypto/Jean-Christophe PLAGNIOL-VILLARD2011-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Release v2011.11.0v2011.11.0Sascha Hauer2011-11-091-1/+1
| |_|/ |/| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Only pass -P to cpp when generating ld scriptsLoïc Minier2011-10-181-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building sandbox with ccache, one would hit warnings such as: warning: 'struct mmsghdr' declared inside parameter list on random files; a way to reproduce this issue is to build a simple file doing just: #include <sys/socket.h> int main(void) { return 0; } gcc -Wall -P -c -o foo foo.c But actually the -P flag is only useful when generating non-C files, such as linker scripts in the case of barebox. Removing the -P flag from all the gcc invocations, except when generating .lds files makes the warning go away. It turns out that this is what linux/scripts/Makefile.build also does nowadays. Signed-off-by: Loïc Minier <loic.minier@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'next'Sascha Hauer2011-10-091-0/+3
|\|
| * generate barebox.srecAntony Pavlov2011-09-131-0/+3
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2011.10.0v2011.10.0Sascha Hauer2011-10-081-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2011.09.0v2011.09.0Sascha Hauer2011-08-261-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2011.08.0v2011.08.0Sascha Hauer2011-08-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-07-061-1/+1
|\
| * Makefile: remove -Map option from global LDFLAGSMarc Kleine-Budde2011-06-211-1/+1
| | | | | | | | | | | | | | ... and re-add it to LDFLAGS_barebox. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Release v2011.07.0v2011.07.0Sascha Hauer2011-07-061-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2011.06.0v2011.06.0Sascha Hauer2011-06-061-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2011.05.0v2011.05.0Sascha Hauer2011-05-061-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-04-041-1/+1
|\
| * kallsyms/printk: enable symbol printing support (%pS)Sascha Hauer2011-03-101-1/+1
| | | | | | | | | | | | | | | | | | With this kallsyms finally start working at least on ARM. This enables us resolving addresses into symbols which is particularly useful in combination with stack unwinding support. As kallsyms now compile and work we can remove the depends on BROKEN. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>