ASNEEDED = "-Wl,--as-needed" ASNEEDED_pn-openobex = "" TARGET_LDFLAGS += "${ASNEEDED}"