From 871846cad435ba3331a9f57c8939889ec86df887 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 6 Jan 2013 05:22:44 +0000 Subject: elfutils: make it possible to only install the libraries Add and use a --{enable,disable}-progs configuration option to selectively enable or disable the elfutils programs. Generally, on an embedded system, the libraries are more useful than the programs, and being able to not build the programs will make it easier to build the elfutils libraries on uClibc. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/elfutils/elfutils.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/elfutils/elfutils.mk') diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk index 27500606b..f8a4e85da 100644 --- a/package/elfutils/elfutils.mk +++ b/package/elfutils/elfutils.mk @@ -46,4 +46,10 @@ else ELFUTILS_CONF_OPT += --without-lzma endif +ifeq ($(BR2_PACKAGE_ELFUTILS_PROGS),y) + ELFUTILS_CONF_OPT += --enable-progs +else + ELFUTILS_CONF_OPT += --disable-progs +endif + $(eval $(autotools-package)) -- cgit v1.2.3