summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Zhou <bjzhou@marvell.com>2017-05-12 16:05:35 +0800
committerWilson Ding <dingwei@marvell.com>2017-05-12 11:59:12 +0300
commit6fbe45294094f4b29959f60c14e69b14378c0b6a (patch)
tree3504487e36cf7b53aea26f76bc85774903787e33
parent90f2a7016857cc4f2f94b23a4431263dc8212346 (diff)
fix: a3700: Fix the issue of make distclean
Armada37x0's ATF compilation includes native ATF code and external WTP component. Thus, WTP component should also be cleaned up along with ATF. However, WTP path is now tied to DOIMAGEPATH, which is different from the default for other Marvell SoCs. Thus, PLAT option is required in order to clean up the WTP component: make PLAT=a3700 WTP=<path/to/wtp> distclean/clean ATF always invokes make clean for "CRTTOOLPATH". When specifying PLAT option in "make clean" command, it will validate the "include" folder under "PLAT_DIR", which expects "include" folder located in the same directory of "platform.mk". Since the existing Armada37x0's PLAT directory doesn't compiles with ATF convention, it caused the error in "make clean". The temporary solution is to add a symbolic link named as 'include' under "PLAT_DIR", which points to itself. This WA will be removed after 'plat/marvell/a3700' folder is reorganized. Change-Id: I95bea27f3999b6490103aec56197eecee2cdd8b6 Signed-off-by: Terry Zhou <bjzhou@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/39357 Reviewed-by: Wilson Ding <dingwei@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com>
l---------plat/marvell/a3700/a3700/include1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/marvell/a3700/a3700/include b/plat/marvell/a3700/a3700/include
new file mode 120000
index 00000000..2996fba3
--- /dev/null
+++ b/plat/marvell/a3700/a3700/include
@@ -0,0 +1 @@
+include \ No newline at end of file