Message ID | 20210912212321.10982-1-kilobyte@angband.pl (mailing list archive) |
---|---|
State | Accepted |
Commit | 84fb7dfc7463afcba61281f36535576a7f7b0626 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: wan: wanxl: define CROSS_COMPILE_M68K | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Guessed tree name to be net-next |
netdev/subject_prefix | warning | Target tree name not specified in the subject |
netdev/cc_maintainers | warning | 3 maintainers not CCed: arnd@arndb.de xie.he.0141@gmail.com ms@dev.tdt.de |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
On 9/12/21 2:23 PM, Adam Borowski wrote: > It was used but never set. The hardcoded value from before the dawn of > time was non-standard; the usual name for cross-tools is $TRIPLET-$TOOL > > Signed-off-by: Adam Borowski <kilobyte@angband.pl> > --- > This is neither the host nor target arch, thus it's very unlikely to be > set by the user. With this patch, it works out of the box on Debian > and Fedora. > > drivers/net/wan/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile > index f6b92efffc94..480bcd1f6c1c 100644 > --- a/drivers/net/wan/Makefile > +++ b/drivers/net/wan/Makefile > @@ -34,6 +34,8 @@ obj-$(CONFIG_SLIC_DS26522) += slic_ds26522.o > clean-files := wanxlfw.inc > $(obj)/wanxl.o: $(obj)/wanxlfw.inc > > +CROSS_COMPILE_M68K = m68k-linux-gnu- > + > ifeq ($(CONFIG_WANXL_BUILD_FIRMWARE),y) > ifeq ($(ARCH),m68k) > M68KCC = $(CC) > Just curious: why is all of that M68K/m68k stuff even in this makefile? thanks.
On Sun, 12 Sep 2021 23:23:21 +0200 Adam Borowski wrote: > It was used but never set. The hardcoded value from before the dawn of > time was non-standard; the usual name for cross-tools is $TRIPLET-$TOOL > > Signed-off-by: Adam Borowski <kilobyte@angband.pl> > --- > This is neither the host nor target arch, thus it's very unlikely to be > set by the user. With this patch, it works out of the box on Debian > and Fedora. > > drivers/net/wan/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile > index f6b92efffc94..480bcd1f6c1c 100644 > --- a/drivers/net/wan/Makefile > +++ b/drivers/net/wan/Makefile > @@ -34,6 +34,8 @@ obj-$(CONFIG_SLIC_DS26522) += slic_ds26522.o > clean-files := wanxlfw.inc > $(obj)/wanxl.o: $(obj)/wanxlfw.inc > > +CROSS_COMPILE_M68K = m68k-linux-gnu- This will not overwrite the parameter if set from command line, right? My Makefile-foo is getting rusty. > ifeq ($(CONFIG_WANXL_BUILD_FIRMWARE),y) > ifeq ($(ARCH),m68k) > M68KCC = $(CC)
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 12 Sep 2021 23:23:21 +0200 you wrote: > It was used but never set. The hardcoded value from before the dawn of > time was non-standard; the usual name for cross-tools is $TRIPLET-$TOOL > > Signed-off-by: Adam Borowski <kilobyte@angband.pl> > --- > This is neither the host nor target arch, thus it's very unlikely to be > set by the user. With this patch, it works out of the box on Debian > and Fedora. > > [...] Here is the summary with links: - net: wan: wanxl: define CROSS_COMPILE_M68K https://git.kernel.org/netdev/net/c/84fb7dfc7463 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile index f6b92efffc94..480bcd1f6c1c 100644 --- a/drivers/net/wan/Makefile +++ b/drivers/net/wan/Makefile @@ -34,6 +34,8 @@ obj-$(CONFIG_SLIC_DS26522) += slic_ds26522.o clean-files := wanxlfw.inc $(obj)/wanxl.o: $(obj)/wanxlfw.inc +CROSS_COMPILE_M68K = m68k-linux-gnu- + ifeq ($(CONFIG_WANXL_BUILD_FIRMWARE),y) ifeq ($(ARCH),m68k) M68KCC = $(CC)
It was used but never set. The hardcoded value from before the dawn of time was non-standard; the usual name for cross-tools is $TRIPLET-$TOOL Signed-off-by: Adam Borowski <kilobyte@angband.pl> --- This is neither the host nor target arch, thus it's very unlikely to be set by the user. With this patch, it works out of the box on Debian and Fedora. drivers/net/wan/Makefile | 2 ++ 1 file changed, 2 insertions(+)