From patchwork Thu Mar 12 22:00:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 449684 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 8EA5F1400A0 for ; Fri, 13 Mar 2015 09:01:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CF88689F44; Thu, 12 Mar 2015 22:01:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q8oScLGoM6eV; Thu, 12 Mar 2015 22:01:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4910289C88; Thu, 12 Mar 2015 22:01:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6ADEA1C2998 for ; Thu, 12 Mar 2015 22:01:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 66EEF306A1 for ; Thu, 12 Mar 2015 22:01:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZxHe01Ov4Cco for ; Thu, 12 Mar 2015 22:01:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by silver.osuosl.org (Postfix) with ESMTPS id 2E30B339BE for ; Thu, 12 Mar 2015 22:01:09 +0000 (UTC) Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id C478C22B47CD for ; Thu, 12 Mar 2015 23:01:06 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3l33yB2tptz5vN4 for ; Thu, 12 Mar 2015 23:01:06 +0100 (CET) Received: from nzxt.fritz.box (nzxt.localdomain [192.168.178.46]) (Authenticated sender: joerg.krause@embedded.rocks) by embedded.rocks (Postfix) with ESMTPSA id 69E88980E6E; Thu, 12 Mar 2015 23:01:05 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 12 Mar 2015 23:00:54 +0100 Message-Id: <1426197654-8183-1-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.3.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/wpa_supplicant: Enable support for log to debug file 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" Enables the '-f' option (log output to debug file instead of stdout) for wpa_supplicant. Signed-off-by: Jörg Krause --- package/wpa_supplicant/Config.in | 5 +++++ package/wpa_supplicant/wpa_supplicant.mk | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index f32a867..7c213a2 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -32,6 +32,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG help Enable support for sending debug messages to syslog. +config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_FILE + bool "Enable log output to debug file" + help + Enable support for log output to debug file instead of stdout. + config BR2_PACKAGE_WPA_SUPPLICANT_WPS bool "Enable WPS" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 682cb4c..4f9dff0 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -107,6 +107,10 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y) WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_DEBUG_SYSLOG endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y) + WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_DEBUG_FILE +endif + ifeq ($(BR2_PACKAGE_READLINE),y) WPA_SUPPLICANT_DEPENDENCIES += readline WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_READLINE