Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

makefiles/gnu.inc.mk: fix "extraneous text after 'ifneq' directive" #18938

Merged
merged 1 commit into from
Nov 20, 2022

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Nov 20, 2022

Contribution description

make on Arch rightfully complains about the extra parenthesis

/home/benpicco/dev/RIOT/makefiles/toolchain/gnu.inc.mk:29: extraneous text after 'ifneq' directive

It's the same version that Ubuntu ships, but for some reason that just silently ignores it.
It's also there on Ubuntu, I just didn't see it because it scrolled away so fast.

Testing procedure

image

Issues/PRs references

follow-up to #18935

When trying to compile `examples/hello-world` on my 465 MHz Mendocino
I got

/home/benpicco/dev/RIOT/makefiles/toolchain/gnu.inc.mk:29: extraneous text after 'ifneq' directive

Turns out the version of `make` on Archlinux32 is newer than that in
Ubuntu 22.04, which somehow ignored the extra parenthesis.

Turns out this (t)rusty old machine is still good for writing patches :D
@github-actions github-actions bot added Area: build system Area: Build system Area: toolchain Area: toolchains; everything related to compilation, libc, linking, … labels Nov 20, 2022
@benpicco benpicco added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer labels Nov 20, 2022
@benpicco benpicco requested review from maribu and miri64 November 20, 2022 14:00
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 20, 2022
@maribu maribu enabled auto-merge November 20, 2022 14:51
@riot-ci
Copy link

riot-ci commented Nov 20, 2022

Murdock results

✔️ PASSED

826b2ae makefiles/gnu.inc.mk: fix "extraneous text after 'ifneq' directive"

Success Failures Total Runtime
117848 0 117848 02h:28m:38s

Artifacts

@maribu maribu merged commit 4ffa411 into RIOT-OS:master Nov 20, 2022
@benpicco benpicco deleted the make_extraneous_text branch November 20, 2022 16:58
@kaspar030 kaspar030 added this to the Release 2023.01 milestone Jan 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Area: build system Area: Build system Area: toolchain Area: toolchains; everything related to compilation, libc, linking, … CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants