From patchwork Tue Jun 9 20:32:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Marie?= X-Patchwork-Id: 482371 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id F22BF140759 for ; Wed, 10 Jun 2015 06:33:32 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=openmailbox.org header.i=@openmailbox.org header.b=Mt+Ltlaj; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5CBE591547; Tue, 9 Jun 2015 20:33:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fuwv6z-bMqSA; Tue, 9 Jun 2015 20:33:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9883891533; Tue, 9 Jun 2015 20:33:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4CEA31C21BA for ; Tue, 9 Jun 2015 20:33:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4889091529 for ; Tue, 9 Jun 2015 20:33:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XrChPonwX-58 for ; Tue, 9 Jun 2015 20:33:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp17.openmailbox.org (smtp17.openmailbox.org [62.4.1.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id C7C509153E for ; Tue, 9 Jun 2015 20:33:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id 57B002E00C6 for ; Tue, 9 Jun 2015 22:33:21 +0200 (CEST) Authentication-Results: mail.openmailbox.org (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=openmailbox.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received; s=openmailbox; t=1433881995; bh=CPngxY4tsexrnFt/ /tjm1sbjv6aqIEFXNs2FC70fzGY=; b=Mt+LtlajZETduSH6wuZboaA+OTN418vO wlFKT5IG3xPZ3XCQVNSGUqdz20Fa8NTcTqkV9IcJgAxJnRif2qYqKIiq/l0jVGeu m2t27/spJczeEJEwG/rm42C0tE+EsuWg9hC/kro7IA4nahU9QF659jOwga2Ssfmp ykMEQhwZ7Vw= X-Virus-Scanned: amavisd-new at openmailbox.org Received: from mail.openmailbox.org ([62.4.1.34]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id H3y640CwroW0; Tue, 9 Jun 2015 22:33:15 +0200 (CEST) From: =?UTF-8?q?C=C3=A9dric=20Marie?= To: buildroot@busybox.net Date: Tue, 9 Jun 2015 22:32:38 +0200 Message-Id: <1433881958-15591-1-git-send-email-cedric.marie@openmailbox.org> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: =?UTF-8?q?C=C3=A9dric=20Marie?= Subject: [Buildroot] [PATCH] directfb: add an option for debugging support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" DirectFB debugging support is enabled by default. This new option makes it possible to disable it (--disable-debug-support) and build the library with no debug feature at all. NB: When debugging support is disabled, the target installation path is suffixed with -pure. Signed-off-by: Cédric Marie --- package/directfb/Config.in | 7 +++++++ package/directfb/directfb.mk | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/package/directfb/Config.in b/package/directfb/Config.in index 7759f8f..0015c0c 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -20,8 +20,15 @@ config BR2_PACKAGE_DIRECTFB_MULTI comment "directfb multi application needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL +config BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT + bool "directfb debugging support" + default y + help + Compile DirectFB with debugging support + config BR2_PACKAGE_DIRECTFB_DEBUG bool "directfb debugging" + depends on BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT help Compile DirectFB with lots of debug output diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index e3dc506..d8af56e 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -39,6 +39,10 @@ DIRECTFB_CONF_OPTS += --enable-multi --enable-fusion DIRECTFB_DEPENDENCIES += linux-fusion endif +ifneq ($(BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT),y) +DIRECTFB_CONF_OPTS += --disable-debug-support +endif + ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y) DIRECTFB_CONF_OPTS += --enable-debug endif