* [Buildroot] [PATCH 1/1] package/rpm: drop binutils optional dependency
@ 2019-03-31 14:49 Fabrice Fontaine
2019-03-31 19:13 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-03-31 14:49 UTC (permalink / raw)
To: buildroot
Since bump to version 4.14.2.1, binutils is not an optional dependency
anymore as bfd.h has been droped in 4.14.0 with
https://github.com/rpm-software-management/rpm/commit/245b5a3b4b6d616adf47361137987e90f8dab22c
So drop it and manage optional elfutils dependency through a
single line (and drop binutils/elfutils comment)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/rpm/rpm.mk | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
index 5fd7256618..75a03abf4d 100644
--- a/package/rpm/rpm.mk
+++ b/package/rpm/rpm.mk
@@ -12,6 +12,7 @@ RPM_DEPENDENCIES = \
host-pkgconf \
berkeleydb \
$(if $(BR2_PACKAGE_BZIP2),bzip2) \
+ $(if $(BR2_PACKAGE_ELFUTILS),elfutils) \
file \
popt \
$(if $(BR2_PACKAGE_XZ),xz) \
@@ -82,16 +83,6 @@ else
RPM_CONF_OPTS += --without-selinux
endif
-# For the elfutils and binutils dependencies, there are no
-# configuration options to explicitly enable/disable them.
-ifeq ($(BR2_PACKAGE_ELFUTILS),y)
-RPM_DEPENDENCIES += elfutils
-endif
-
-ifeq ($(BR2_PACKAGE_BINUTILS),y)
-RPM_DEPENDENCIES += binutils
-endif
-
ifeq ($(BR2_PACKAGE_ZSTD),y)
RPM_DEPENDENCIES += zstd
RPM_CONF_OPTS += --enable-zstd
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-31 19:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-31 14:49 [Buildroot] [PATCH 1/1] package/rpm: drop binutils optional dependency Fabrice Fontaine
2019-03-31 19:13 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox