]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
scripts: add scripts/show-gnu-make to get GNU Make command name
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 22 Jul 2014 02:19:07 +0000 (11:19 +0900)
committerTom Rini <trini@ti.com>
Tue, 29 Jul 2014 15:48:36 +0000 (11:48 -0400)
commitb68a4062635cdb21e0904b385fb53fd49ae13432
tree7f812338850500f78ac169968e9aae9782889fc9
parent362f16b1e9e94024a511adae9977d145ef942b50
scripts: add scripts/show-gnu-make to get GNU Make command name

U-Boot is expected to be built on various platforms.

We should keep in mind that the command 'make' is not always GNU Make,
while all the makefiles are written for GNU Make.

For example, on Linux, people generally do:

  make <board>_config; make

But FreeBSD folks do

  gmake <board>_config; gmake

(The command 'make' on FreeBSD is BSD Make, not GNU Make)

It is not a good idea to hard-code the command name 'make'
in MAKEALL or buildman.

They should call this helper script and get the command name
for GNU Make.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
scripts/show-gnu-make [new file with mode: 0755]