]> git.baikalelectronics.ru Git - kernel.git/commit
net: wan: wanxl: refactor the firmware rebuild rule
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 05:57:17 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 29 Mar 2020 13:37:53 +0000 (22:37 +0900)
commit4fec70c277fb640f984e81120ca9f84fc13fdfb1
tree4e39e2a1290afe8d6c2999971b72f2eff6f88a05
parent269c57e792a1bbf12efc511f6e39f02efa2d135a
net: wan: wanxl: refactor the firmware rebuild rule

Split the big recipe into 3 stages: compile, link, and hexdump.

After this commit, the build log with CONFIG_WANXL_BUILD_FIRMWARE
will look like this:

  M68KAS  drivers/net/wan/wanxlfw.o
  M68KLD  drivers/net/wan/wanxlfw.bin
  BLDFW   drivers/net/wan/wanxlfw.inc
  CC [M]  drivers/net/wan/wanxl.o

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
drivers/net/wan/Makefile