OSDN Git Service

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)
commit7d7df745b0a63af33415ec234b29b9d6ed59ad8c
tree4e39e2a1290afe8d6c2999971b72f2eff6f88a05
parent734f3719d3438f9cc181d674c33ca9762e9148a1
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