LairdCP/wb-buildroot

msd45 binary package should state its dependencies (libnl, etc)

Opened this issue · 1 comments

When I build an application, I should not be concerned with what dependencies msd45-binaries has. I should just be able to include the msd45-binaries package in my application's list of of dependencies and that should be it.

However, because msd45-binaries does not list its dependencies, buildroot does not know to build msd45-binaries dependencies before building an application that links with sdc_sdk library.

The fix is to add libnl openssl to MSD45N_BINARIES_DEPENDENCIES.

commit 376cc6b
Author: Dimitrios Siganos dimitris@siganos.org
Date: Wed May 4 14:40:28 2016 +0100

Fix dependencies of msd45-binaries package (add libnl and openssl deps)

diff --git a/package/lrd/msd45n-binaries/msd45n-binaries.mk b/package/lrd/msd45n-binaries/msd45n-binaries.mk
index a75e960..80a27d2 100644
--- a/package/lrd/msd45n-binaries/msd45n-binaries.mk
+++ b/package/lrd/msd45n-binaries/msd45n-binaries.mk
@@ -2,7 +2,7 @@ MSD45N_BINARIES_VERSION = $(call qstrip,$(BR2_MSD45N_BINARIES_VERSION))
MSD45N_BINARIES_SITE = http://boris.corp.lairdtech.com/builds/linux/msd45n/laird_fips/$(MSD45N_BINARIES_VERSION)
MSD45N_BINARIES_COMPANY_PROJECT = $(call qstrip,$(BR2_MSD45N_BINARIES_COMPANY_PROJECT))
MSD45N_BINARIES_SOURCE = msd45n-$(MSD45N_BINARIES_COMPANY_PROJECT)-$(MSD45N_BINARIES_VERSION).tar.bz2
-MSD45N_BINARIES_DEPENDENCIES =
+MSD45N_BINARIES_DEPENDENCIES = libnl openssl
MSD45N_BINARIES_INSTALL_STAGING = YES

define MSD45N_BINARIES_EXTRACT_CMDS