10000 [make] Compare whole words for LKINC check. by girtsf · Pull Request #160 · littlekernel/lk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

[make] Compare whole words for LKINC check. #160

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

girtsf
Copy link
Contributor
@girtsf girtsf commented Sep 5, 2016

I had my external project directory named foo_lk, and this got me puzzled for a bit. Maybe this will save somebody else from the same issue.

My make-fu is not super strong, so please review with caution. (Also, hi, Travis!)

Previously, if lk was built from an external directory that contained
"lk" in the name, the "findstring" check would succeed and not add lk's
directory to LKINC. This switches to a word comparison instead of
a substring search.
@travisg
Copy link
Member
travisg commented Sep 6, 2016

LGTM

@travisg travisg merged commit 71792d0 into littlekernel:master Sep 6, 2016
@girtsf girtsf deleted the makefile-fix branch September 30, 2016 18:01
ganadist pushed a commit to ganadist/lk that referenced this pull request Jun 19, 2017
Previously, if lk was built from an external directory that contained
"lk" in the name, the "findstring" check would succeed and not add lk's
directory to LKINC. This switches to a word comparison instead of
a substring search.
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

Successfully merging this pull request may close these issues.

2 participants
0