Commit Graph

5 Commits

Author SHA1 Message Date
Brendan Heading
186d5d1b5f package/ibrcommon: fix basename call under musl
Fixes:
http://autobuild.buildroot.net/results/9c3/9c3889fe80e58b7a35c242332f993992044d2f6b/

ibrcommon was relying on a glibc extension to basename(3) which allowed it
to accept a const char* parameter (instead of char*). Fixed by testing
for __GLIBC__; if not defined (such as when musl is in use) a fallback
block is used which creates a temporary copy of the path.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-20 14:50:58 +02:00
Thomas Petazzoni
e4f6046f7a ibrcommon: add missing dependency on host-pkgconf
pkg-config is used by ibrcommon to detect the availability of openssl,
libnl and libxml2, so we must depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 20:42:31 +02:00
Thomas Petazzoni
f1e2419753 ibrcommon: add hash file
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 18:14:04 +02:00
Thomas Petazzoni
8bb79ac97d ibrcommon: fix dependencies of comment in Config.in
We want the comment to be displayed either if C++ is not supported
*or* if threads is not supported.

Also, fix the indentation to use a tab.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 18:14:04 +02:00
Tom Sparks
d45e6bf09d ibrcommon: new package
[Thomas:
  - add package in package/Config.in, to make it visible in menuconfig
  - make the openssl, libnl and libxml2 dependencies optional, since
    they are definitely not mandatory
  - add README to the license files, since it contains useful
    licensing related information.
  - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS since
    the package uses automake.
  - add missing final newline in Config.in and .mk file.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 16:41:56 +02:00