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

Cleanup the Makefile of unused and obsolete build targets #301

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

vkhoroz
Copy link
Member

@vkhoroz vkhoroz commented Oct 6, 2023

No description provided.

@vkhoroz vkhoroz requested a review from doanac October 6, 2023 16:35
@vkhoroz vkhoroz self-assigned this Oct 6, 2023
@vkhoroz
Copy link
Member Author

vkhoroz commented Oct 6, 2023

@doanac this is rather opinionated.

But we've made so many changes to Makefile recently, that it is worth finishing this story.
If you find any of these 3 commits irrelevant - I'll better remove those.

Makefile Outdated Show resolved Hide resolved
@vkhoroz vkhoroz changed the title Cleanup the Makefile of unused and misleading build targets Cleanup the Makefile of unused and obsolete build targets Oct 6, 2023
Makefile Outdated Show resolved Hide resolved
It does not build in Golang 1.19 compiler and higher.
A correct way to specify the Arm version is via the GOARM environent variable.

Signed-off-by: Volodymyr Khoroz <volodymyr.khoroz@foundries.io>
All fioctl-% build targets are already static.
Moreover, this target is kind of misleading:
- It sets CGO_ENABLED=0 which forces to use internal linker.
- But, it then passes `extldflags` which are only relevant for external linker, i.e. they are ignored.

Anyway, it is redundant, so better get rid of it.

Signed-off-by: Volodymyr Khoroz <volodymyr.khoroz@foundries.io>
We never use it, meaning we never test it.

Signed-off-by: Volodymyr Khoroz <volodymyr.khoroz@foundries.io>
@vkhoroz vkhoroz merged commit ba783a0 into main Oct 6, 2023
7 checks passed
@vkhoroz vkhoroz deleted the vkhoroz-clean-makefile branch October 6, 2023 17:17
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