arm-trusted-firmware/make_helpers
Masahiro Yamada a6ca78881f Build: Fix parallel building
Soren reports build fails if -j option is given:

  $ make -j16 CROSS_COMPILE=aarch64-linux-gnu-
  Building fvp
  make: *** No rule to make target 'build/fvp/release/bl1/',
                    needed by 'build/fvp/release/bl1/bl1.ld'.  Stop.
  make: *** Waiting for unfinished jobs....

The cause of the failure is that $(dir ) leaves a trailing / on the
directory names.   It must be ripped off to let Make create the
directory.

There are some ways to fix the issue.  Here, I chose to make MAKE_LD
look like MAKE_C and MAKE_S because bl*_dirs seems the central place
of making directories.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2017-01-19 19:36:29 +09:00
..
tbbr Replace fip_create with fiptool 2016-07-29 10:38:46 +01:00
build_env.mk Fix incorrect copyright notices 2016-12-14 14:31:32 +00:00
build_macros.mk Build: Fix parallel building 2017-01-19 19:36:29 +09:00
cygwin.mk Make:Allow for extension in tool names. 2016-04-01 12:33:09 +01:00
defaults.mk build: Reorder build variables alphabetically 2016-11-08 09:00:44 +00:00
msys.mk Make:Allow for extension in tool names. 2016-04-01 12:33:09 +01:00
plat_helpers.mk Make:Remove calls to shell from makefiles. 2016-04-01 12:33:09 +01:00
unix.mk Make:Make shell commands more portable 2016-04-01 12:33:09 +01:00
windows.mk Build: exclude -c flag from TF_CFLAGS 2017-01-05 11:25:13 +09:00