net/iproute2: recipe to build iproute2 tools#63
Merged
jkloetzke merged 1 commit intoBobBuildTool:masterfrom Mar 3, 2025
Merged
net/iproute2: recipe to build iproute2 tools#63jkloetzke merged 1 commit intoBobBuildTool:masterfrom
jkloetzke merged 1 commit intoBobBuildTool:masterfrom
Conversation
jkloetzke
reviewed
Feb 26, 2025
recipes/net/iproute2.yaml
Outdated
|
|
||
| checkoutSCM: | ||
| scm: url | ||
| url: https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-${PKG_VERSION}.tar.xz |
Member
There was a problem hiding this comment.
There's the KERNEL_MIRROR variable from basement -> ${KERNEL_MIRROR}/linux/utils/net/iproute2/iproute2-${PKG_VERSION}.tar.xz.
|
|
||
| makeParallel \ | ||
| CC="$CC" \ | ||
| HOSTCC="gcc" \ |
Member
There was a problem hiding this comment.
Buildroot also passes SHARED_LIBS=. Depending on the target environment, the basement recipes prefer static (host environment) or shared (target environment) libraries. Something like the following should do that:
SHARED_LIBS=$([[ $(cpackageLibraryType) == static ]] && echo n || echo y)
Contributor
Author
|
Hi @jkloetzke, thanks for the review comments. I incorporated them and uploaded a new version of the pull request. |
Member
|
Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a recipe to build iproute2 tools.