[LEDE-DEV] What does PKG_FLAGS := nonshared do?

Jo-Philipp Wich jo at mein.io
Fri May 20 07:46:02 PDT 2016


Hi Daniel,

PKG_FLAGS:=nonshared marks a package as being dependent on a specific
target/subtarget, means it cannot be shared among different targets.

This generally applies to all kmods (because they require the exact
kernel image), libc, opkg and procd (because it might get compiled
differently for different subtargets) plus things like "nvram" (which
only makes sense on brcm47xx and not anything mips) etc.

Other special flags are "hold" and "essential" which will instruct the
host opkg to mark the packages accordingly when installing them to the
offline root.

HTH,
~Jo



More information about the Lede-dev mailing list