summaryrefslogtreecommitdiffstats
path: root/rules/barebox.make
Commit message (Collapse)AuthorAgeFilesLines
* hardening: add option for -fstack-clash-protectionMichael Olbrich2019-02-211-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: use ptx/force-shell in more placesptxdist-2018.12.0Michael Olbrich2018-12-121-1/+1
| | | | | | | Any $(shell ...) call that influences the dependency list must use ptx/force-shell instead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: cleanup rule to use more default stagesMichael Olbrich2018-11-101-25/+10
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox/kernel: drop explicit dependencyMichael Olbrich2018-10-071-1/+1
| | | | | | This is now autogenerated by ptxd_lib_dgen. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: use layer aware kconfig helperMichael Olbrich2018-09-211-12/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: support layers with BAREBOX_EXTRA_ENV_PATHMichael Olbrich2018-09-201-4/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: implement & use ptx/in-platformconfigdirMichael Olbrich2018-09-201-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: fix rebuild of environmentMichael Tretter2018-05-171-0/+1
| | | | | | | | | | | | | Barebox does not rebuild the environment by default anymore since commit 105201e0013d ("build: fix that defaultenv is always rebuilt"). Therefore, changes in $(BAREBOX_EXTRA_ENV_PATH) do not propagate to the Barebox image. Remove the generated environment file to trigger a rebuild of the environment. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* update all spdx license identifier to the new versionMichael Olbrich2018-03-121-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: fix CONFIG_DEFAULT_ENVIRONMENT_PATH on (interrupted) ↵Bastian Stender2017-09-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | oldconfig/nconfig/menuconfig ptxdist adds ".ptxdist-defaultenv" if PTXCONF_BAREBOX_EXTRA_ENV is enabled. If barebox oldconfig/nconfig/menuconfig do not modify the configuration the barebox config from the BSP is copied without executing the prepare stage responsible for amending ".ptxdist-defaultenv". The same happens on interrupted *config. Steps to reproduce: ptxdist targetinstall barebox ptxdist menuconfig barebox (without modification) ptxdist drop barebox.compile ptxdist targetinstall barebox Now CONFIG_DEFAULT_ENVIRONMENT_PATH is missing ".ptxdist-defaultenv" leading to an unexpected environment. Fix this by amending ".ptxdist-defaultenv" before compiling in case it has not been amended before. Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Debugging: add support for 'build-id'sJuergen Borleis2017-06-211-1/+2
| | | | | | | | | | | | | | | | | | | | Recent debugging tools support separate binaries and debug information files. Providing a unique 'build-id' embedded in the binary enables the debugging tools to select the correct and matching debug information files from the system's root filesystem. The 'build-id' is a 40 character calculated SHA1 from important sections in the binary. The debug information files get stored at a central direcory at "/usr/lib/debug/", with a special path based on the 'build-id'. If the 'build-id' is "123456789abcdef", the path and filename will be ".build-id/12/3456789abcdef.debug". Its possible to have more than one 'build-id' in the binary. This implementation prefers the first one in the list, which might be the wrong one. It's unclear yet how the common debugging tools will behave in this case. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* Barebox: never use it as a pre-built packageJuergen Borleis2017-06-161-0/+1
| | | | | | | | Using pre-build packages can speed up building a BSP dramatically. But some packages (like the kernel) are never candidates for a pre-built package, and so is Barebox as well. Remove it from the list of pre-built packages. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* barebox: fix installation of target programsMichael Grzeschik2016-07-011-2/+2
| | | | | | | | The selection for bareboxcrc32 and kernel-install got swapped. Fix them to address the right target. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: add possibility to install: bareboxcrc32, bareboximd and kernel-installMarc Kleine-Budde2016-03-021-13/+31
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> [mol: improve install error handling] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: Install bareboxcrc32 to sysroot-host to be able to generate crc32 ↵Gavin Schenk2016-02-161-0/+3
| | | | | | | | codes that can be checked by barebox I want to create crc32 files in a new-image-generation package that can be processed by barebox. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* automated switch to SPDX conform license namesMichael Olbrich2015-10-271-1/+1
| | | | | | | | | | | | | | | search & replace for: - GPL-1.0 - GPL-2.0 - GPL-3.0 - LGPL-2.0 - LGPL-3.0 - LGPL-2.1 - AGPL-3.0 - AFL-2.1 - Autoconf-exception-3.0 Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* explicitly share make jobserver where necessaryMichael Olbrich2015-05-261-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: generate "tags" during ptxdist tags barebox, tooMarc Kleine-Budde2015-04-221-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* barebox: careful handling of wildcardAlexander Aring2015-03-181-1/+1
| | | | | | | | | | | | | | | | Some barebox images are not placed into barebox image directory, this will end in a failure of ls with the wildcard expression. Something like: ls: cannot access ..foobar.../barebox-2015.02.0/images/barebox-*.img: No such file or directory This patch will improve the handling with wildcard if no image is found by using find. Signed-off-by: Alexander Aring <alex.aring@gmail.com> [mol: add 'sort' to keep the correct order] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: use barebox_zero_env as default environment if availableMichael Olbrich2015-02-181-1/+3
| | | | | | | Newer barebox versions only save changes to the builtin environment. So now we can use a zero diff environment file as 'default' environment. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: improve install stageMichael Olbrich2014-08-121-2/+5
| | | | | | | - setupmbr is not always available for ARCH_X86. - be more verbose about what happens Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: Only install defaultenv file if it existsSascha Hauer2014-03-061-1/+1
| | | | | | | Not all builds have a barebox_default_env. Only install it if it exists. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: use images/barebox-*.img as imagesMichael Olbrich2014-01-291-1/+10
| | | | | | New barebox versions will create those and there may be more than one. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: add wrapper blacklistMichael Olbrich2013-09-291-2/+12
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: add @ to make menuconfig a bit more quietMarc Kleine-Budde2013-03-131-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* barebox: in new versions barebox-flash-image is used instead of barebox.binMichael Olbrich2012-11-121-1/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: support new location of barebox_default_envJan Luebbe2012-10-171-1/+5
| | | | | | | Since barebox > v2012.10.0, barebox_default_env has moved to common/. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: introduce barebox-url and barebox-optsMarc Kleine-Budde2012-09-061-1/+1
| | | | | | | ...and make use of barebox-url. It's needed for extra barebox packages. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: delete barebox-default-environment during clean stage, tooMarc Kleine-Budde2012-09-061-1/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: be more quiet in the compile stageMarc Kleine-Budde2012-09-061-1/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: remove obsolete PATH parameterMarc Kleine-Budde2012-09-061-2/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: remove leftover btcs bitsMarc Kleine-Budde2012-09-061-5/+0
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add --verbose option and start using itMichael Olbrich2012-07-291-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: Allow usage of nconfigBernhard Walle2012-07-241-1/+1
| | | | | | | With that patch, 'ptxdist nconfig barebox' works. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: add option to install target 'bareboxenv'ptxdist-2012.07.0Michael Olbrich2012-07-091-0/+13
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: build with $(PARALLELMFLAGS)Michael Olbrich2012-07-091-1/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: copy back .config file after make oldconfig stepMarc Kleine-Budde2012-07-021-4/+5
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: fix tags generationMarc Kleine-Budde2012-07-021-0/+2
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: remove redundant get stageRobert Schwebel2012-06-141-8/+0
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: support multiple entires in BAREBOX_EXTRA_ENV_PATHMichael Olbrich2012-06-121-2/+12
| | | | | | | | | BAREBOX_EXTRA_ENV_PATH can now contain multiple file and directory entries. The are added in specified order. In addition, dependencies are added to rebuild the environment when any of the files change. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [barebox] add config variable for the source md5sumMichael Olbrich2011-05-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [rules] add md5sum for all packagesMichael Olbrich2011-05-041-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: install setupmbrMichael Olbrich2011-03-281-0/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: add options to extend the builtin environmentMichael Olbrich2011-03-101-0/+11
| | | | | | also install the resulting environment to $(IMAGEDIR)/ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: fix typo in clean stageMarc Kleine-Budde2011-01-311-1/+1
| | | | | Reported-by: Erwin Rol <erwin@erwinrol.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* barebox: add dependencies for btcsMarc Kleine-Budde2010-10-061-0/+5
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [rules] fix custom clean stagesMichael Olbrich2010-01-191-2/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [rules] remove obsolete clean target & minor cleanupsMichael Olbrich2010-01-181-3/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [barebox] add new packet bareboxMarc Kleine-Budde2009-12-261-0/+123
barebox is the famous bootloader formerly known as u-boot-v2, now featured in ptxdist. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>