Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

awk detector in makefile breaks check-size #2073

Closed
tdierks opened this issue Nov 29, 2017 · 0 comments
Closed

awk detector in makefile breaks check-size #2073

tdierks opened this issue Nov 29, 2017 · 0 comments

Comments

@tdierks
Copy link
Contributor

tdierks commented Nov 29, 2017

In message.mk line 12 by @fredizzimo there's a check for awk. On my Debian instance, this check fails and $(AWK) gets set to cat && test. This then breaks this use of awk in the rule.mk check-size target: rules.mk line 375.

The awk on my system is the default one in Debian:

$ awk -W version
mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan

compiled limits:
max NF             32767
sprintf buffer      2040

I don't know why the check on the version/type of awk is in message.mk, and I don't know a lot about awk portability, so I'm not sure if changing the check to work with mawk is right, getting rid of the check, or some other change.

tdierks added a commit to tdierks/qmk_firmware that referenced this issue Dec 1, 2017
LovesTha pushed a commit to LovesTha/qmk_firmware that referenced this issue Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant