From patchwork Wed Jan 31 18:19:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 868027 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nRAVjxt8"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zWs3k751qz9ryv for ; Thu, 1 Feb 2018 05:20:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 49FC086E00; Wed, 31 Jan 2018 18:19:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPy6WxIA-AOt; Wed, 31 Jan 2018 18:19:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8CEB486E29; Wed, 31 Jan 2018 18:19:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A062B1BFDB9 for ; Wed, 31 Jan 2018 18:19:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9C42D89AB3 for ; Wed, 31 Jan 2018 18:19:57 +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 NxXc6cYpYM8D for ; Wed, 31 Jan 2018 18:19:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id 403DD89AB1 for ; Wed, 31 Jan 2018 18:19:56 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id s5so16084418wra.0 for ; Wed, 31 Jan 2018 10:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=v2+KuRDHc+MvcqTot0rocZF3Gg2u8X3Ng1WWYv0daVs=; b=nRAVjxt8TZl7q2/BEk8gVPEgWi5oAeWFQXUS32F1BEOzVDAJVeNQogVGHDAV6J4OmC R9leg5ye3drJPA7BsYeFFMwbX5l9L6KiT80g8H2/f6iGPOLWAHD3Ce4Hf3K9KUiEHP20 aK4KLwa8jqQlgfa7wTPlMGRRrGxrgLZ9hFk4K0Zm1Z2R8LjHiK6cmL0ldi7HiVhZNTwP yH91H/zk+vhCHPHyGndMi93EHZKCyEee/gOeXpvkfXNbwqeAMTamDKFEGt582yroVrHC 7+Ko/4pox9+boTrSnJX922AzldjqUSmFcXwUwFMNrQGIpbKAtkdXLTWBbxIlIJNGDMmp tXZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=v2+KuRDHc+MvcqTot0rocZF3Gg2u8X3Ng1WWYv0daVs=; b=Nh9tZlrkmZ5c3yntkuV5yOhjUbdYI8P7hvgrJfAEMFp0p31w/jgfCW8MABnFCUWONM i+QmxarOjNCsLhXJJfJSmmJNhhDJq458aRo2nq/JyPm+IOu8irfb5r7DXK0rQgmW2Eu4 02kqZGav3ekr5lYDcd4wVmcLikzH46mOrV8qyJWFlNSP7VDyUpovu0LiIhVhzrks5tcF q1Cr2wQTWEwZ2VUxtkgXQHMMGsZxNGYOjI6jBpdhXV6Nq99QhPWxvSU5rZ9G6eTaKp3Q 5Nabe1X4waZe+uic7NgSSGYNIplBWVNbyK1+Nx//9f+c0wNLZGBVoHXHMdHGM0G6/Jou 1lAA== X-Gm-Message-State: AKwxytcuu0PaKrW7SivmnRd2rJBcBHL0cPZ2t3zV6BFYZE1s9YEt7XR3 j5ZA2IyW/SWP4b4sc6IdGZ4E4MrE X-Google-Smtp-Source: AH8x226l+Cp/HEAGgRQLarqEIpw/dhYhww8cMb29QIqKyy5OzmATDgyddyVUSatCAXwOUD3MhXN98Q== X-Received: by 10.223.183.46 with SMTP id l46mr12377245wre.33.1517422794366; Wed, 31 Jan 2018 10:19:54 -0800 (PST) Received: from zgyarmati-w530.localdomain (x55b57855.dyn.telefonica.de. [85.181.120.85]) by smtp.gmail.com with ESMTPSA id l2sm7649762wre.6.2018.01.31.10.19.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Jan 2018 10:19:53 -0800 (PST) From: Zoltan Gyarmati To: buildroot@buildroot.org Date: Wed, 31 Jan 2018 19:19:47 +0100 Message-Id: <1517422787-12753-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH] package/gpsd: add config option for Spectratime iSync and build fix patch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" As in the inital 3.17 version bump patch the iSync config option was not added, the iSync driver was implicitly enabled in the gpsd config as default, and due to a bug in the gpsd build setup, this caused several autobuild issues which are fixed by this. This commit adds both the Buildroot config option and the gpsd patch which was also sent to and accepted in upstream. Fixes: http://autobuild.buildroot.net/results/555b4bdd1707aa21e6d3014e30b635c96c5efffc http://autobuild.buildroot.net/results/cfc14a2c471c63ecc4c95c12b8e00ed7656acfd2 http://autobuild.buildroot.net/results/2104e15526bd6f467f0d56dee10b5fa46e2c71dd http://autobuild.buildroot.net/results/610b3f898b396c1def682b809482408c2c4555bc ... and many more. Signed-off-by: Zoltan Gyarmati --- ...x-isync-build-when-ublox-not-selected-too.patch | 32 ++++++++++++++++++++++ package/gpsd/Config.in | 5 ++++ package/gpsd/gpsd.mk | 3 ++ 3 files changed, 40 insertions(+) create mode 100644 package/gpsd/0002-Fix-isync-build-when-ublox-not-selected-too.patch diff --git a/package/gpsd/0002-Fix-isync-build-when-ublox-not-selected-too.patch b/package/gpsd/0002-Fix-isync-build-when-ublox-not-selected-too.patch new file mode 100644 index 0000000..e3e35a5 --- /dev/null +++ b/package/gpsd/0002-Fix-isync-build-when-ublox-not-selected-too.patch @@ -0,0 +1,32 @@ +From 98c8f5f4429ac3bfc09eee235fee08b9aaff8c52 Mon Sep 17 00:00:00 2001 +From: Zoltan Gyarmati +Date: Tue, 30 Jan 2018 19:58:54 -0800 +Subject: [PATCH] Fix isync build when ublox not selected too. + +The isync support uses the ublox driver, but if the ublox support is +disabled while isync is enabled, the build will fail. + +Signed-off-by: Zoltan Gyarmati +--- + SConstruct | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/SConstruct b/SConstruct +index 1c1a215..c6a309e 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -334,6 +334,11 @@ for driver in ('ashtech', + env['nmea0183'] = True + break + ++ ++# iSync uses ublox underneath, so we force to enable it ++if env['isync']: ++ env['ublox'] = True ++ + opts.Save('.scons-option-cache', env) + env.SConsignFile(".sconsign.dblite") + +-- +2.7.4 + diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in index 68d3e2e..d9ab7b7 100644 --- a/package/gpsd/Config.in +++ b/package/gpsd/Config.in @@ -152,6 +152,11 @@ config BR2_PACKAGE_GPSD_GPSCLOCK help GPSClock support +config BR2_PACKAGE_GPSD_ISYNC + bool "iSync" + help + Spectratime iSync LNRClok/GRCLOK support + config BR2_PACKAGE_GPSD_ITRAX bool "iTrax" help diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index e3fa20c..8c8023e 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -111,6 +111,9 @@ endif ifneq ($(BR2_PACKAGE_GPSD_GPSCLOCK),y) GPSD_SCONS_OPTS += gpsclock=no endif +ifneq ($(BR2_PACKAGE_GPSD_ISYNC),y) +GPSD_SCONS_OPTS += isync=no +endif ifneq ($(BR2_PACKAGE_GPSD_ITRAX),y) GPSD_SCONS_OPTS += itrax=no endif