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

net/iproute2: recipe to build iproute2 tools #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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)

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