Skip to content

net/iproute2: recipe to build iproute2 tools#63

Merged
jkloetzke merged 1 commit intoBobBuildTool:masterfrom
icedieler:iproute2
Mar 3, 2025
Merged

net/iproute2: recipe to build iproute2 tools#63
jkloetzke merged 1 commit intoBobBuildTool:masterfrom
icedieler:iproute2

Conversation

@icedieler
Copy link
Contributor

Add a recipe to build iproute2 tools.


checkoutSCM:
scm: url
url: https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/iproute2-${PKG_VERSION}.tar.xz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's the KERNEL_MIRROR variable from basement -> ${KERNEL_MIRROR}/linux/utils/net/iproute2/iproute2-${PKG_VERSION}.tar.xz.


makeParallel \
CC="$CC" \
HOSTCC="gcc" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

@icedieler
Copy link
Contributor Author

Hi @jkloetzke,

thanks for the review comments. I incorporated them and uploaded a new version of the pull request.

@jkloetzke jkloetzke merged commit 6284455 into BobBuildTool:master Mar 3, 2025
1 check passed
@jkloetzke
Copy link
Member

Thanks

@icedieler icedieler deleted the iproute2 branch February 24, 2026 17:13
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