- 31 Jul, 2020 1 commit
-
-
Grant Likely authored
All platform specific configuration is moved out into separate files so that the main makefile only contains common code. Choose which files to include based on the values of u-boot configuration variables. Currently these four U-Boot variables are used: CONFIG_SYS_VENDOR ==> include scripts/vendor-$(CONFIG_SYS_VENDOR).mk CONFIG_SYS_SOC ==> include scripts/soc-$(CONFIG_SYS_SOC).mk CONFIG_SYS_BOARD ==> include scripts/board-$(CONFIG_SYS_BOARD).mk CONFIG_SYS_CONFIG_NAME ==> include scripts/config-$(CONFIG_SYS_CONFIG_NAME).mk Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 30 Jul, 2020 3 commits
-
-
Grant Likely authored
This patch adopts the Linux & U-boot kbuild style top level Makefile that includes the generated config so that decisions can be made from the specific config. The core of this change is to pull in the %config parsing rules for u-boot/Makefile and process them separately from the main build rules. This allows *config rules to change the U-Boot configuration, and the import the CONFIG_* values into make so that TFA_PLAT and other variables can be automatically determined. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The primary repo for TF-A is on git.trustedfirmware.org. Use that instead of the github mirror. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Instead of setting the build directory unconditionally (which doesn't entirely work anyway; U-Boot handles it well, but TFA and DT-rebasing do not), by default let each project use it's own working directory. However, if BUILD_BASE is set, then use that to create build directories for the projects that support it. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 29 Jul, 2020 1 commit
-
-
Grant Likely authored
$MAKE is automatically set. Don't need to set it explicitly. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 22 Jul, 2020 3 commits
-
-
Grant Likely authored
Small changes: - Make tfa-fip the default target - Don't give U-Boot a replacement DTB - Add some .PHONY targets Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Move the clean target into the top level makefile so that the .config rule doesn't get called before doing the clean step Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
There are some options in U-Boot that need to be enabled for EFI testing. Add them to the defconfig. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 16 Jul, 2020 3 commits
-
-
Grant Likely authored
Set up a recursive structure so that u-boot defconfig can be run first and then included in the 2nd stage makefile. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
U-Boot defconfig already knows a lot about the platform. Use the defconfig data to know what the SoC is and start with sane defaults. This currently works by running the U-Boot defconfig step with a :=$(shell) statement before executing any make rules. It is a little ugly to do it this way, and it may be better to recursively call Make so that the output of make <target>_defconfig is executed in a proper rule. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The CACHEDIR target was a leftover from an experiment that didn't make sense. Remove it. Also, add the buildall script to the base directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 15 Jul, 2020 1 commit
-
-
Grant Likely authored
This tool is all about building U-Boot images; so make the TARGET variable match the name used in the U-Boot config directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 02 Jul, 2020 1 commit
-
-
Grant Likely authored
Fixes previous commits that renamed the manifest and scripts working directory and changed to using the u-boot target name when choosing which firmware image to build. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 26 Jun, 2020 1 commit
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 25 Jun, 2020 1 commit
-
-
Grant Likely authored
Splitting the individual platforms into separate makefiles simplifies the build scripts considerably. The Makefile now includes a platform-specific makefile based on the value of ${TARGET}, and the included file can override the variables as needed for the configuration. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-