{"id":806646,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806646/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<1503935658-28777-1-git-send-email-agust@denx.de>","date":"2017-08-28T15:54:18","name":"[U-Boot] lib: don't build regex support into SPL when not using environment","commit_ref":null,"pull_url":null,"state":"rejected","archived":false,"hash":"b24b90a17b40cedf5afd490b6a1caa4e119dc261","submitter":{"id":872,"url":"http://patchwork.ozlabs.org/api/1.0/people/872/?format=json","name":"Anatolij Gustschin","email":"agust@denx.de"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.0/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1503935658-28777-1-git-send-email-agust@denx.de/mbox/","series":[{"id":206,"url":"http://patchwork.ozlabs.org/api/1.0/series/206/?format=json","date":"2017-08-28T15:54:18","name":"[U-Boot] lib: don't build regex support into SPL when not using environment","version":1,"mbox":"http://patchwork.ozlabs.org/series/206/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806646/checks/","tags":{},"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgxCj5RMbz9rvt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 01:54:25 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 79FA7C2252F; Mon, 28 Aug 2017 15:54:11 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 76C91C2251F;\n\tMon, 28 Aug 2017 15:54:08 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D0D0EC2250E; Mon, 28 Aug 2017 15:54:06 +0000 (UTC)","from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9])\n\tby lists.denx.de (Postfix) with ESMTPS id 79067C2251F\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 15:54:06 +0000 (UTC)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xgxCL2Dj8z1rFYR\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 17:54:06 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xgxCL220Jz3jgY4\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 17:54:06 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024) with ESMTP id plhwEqHn_Zw0 for <u-boot@lists.denx.de>;\n\tMon, 28 Aug 2017 17:54:05 +0200 (CEST)","from crub.agik.hopto.org (p4FCB44C5.dip0.t-ipconnect.de\n\t[79.203.68.197]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 17:54:05 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Virus-Scanned":"amavisd-new at mnet-online.de","X-Auth-Info":"AAyJ+lIQyeRwrHcmVKMWKKEuShai7M2DNYi6QSQf/rE=","From":"Anatolij Gustschin <agust@denx.de>","To":"u-boot@lists.denx.de","Date":"Mon, 28 Aug 2017 17:54:18 +0200","Message-Id":"<1503935658-28777-1-git-send-email-agust@denx.de>","X-Mailer":"git-send-email 2.7.4","Subject":"[U-Boot] [PATCH] lib: don't build regex support into SPL when not\n\tusing environment","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"regex code is not used in SPL when environment support is disabled,\nso do not include this code to reduce SPL size.\n\nSigned-off-by: Anatolij Gustschin <agust@denx.de>\n---\n lib/Makefile | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/lib/Makefile b/lib/Makefile\nindex 1ffa455..b0850a1 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -44,6 +44,7 @@ obj-$(CONFIG_RBTREE)\t+= rbtree.o\n obj-$(CONFIG_BITREVERSE) += bitrev.o\n obj-y += list_sort.o\n obj-y += hashtable.o\n+obj-$(CONFIG_REGEX) += slre.o\n endif\n \n obj-$(CONFIG_RSA) += rsa/\n@@ -78,7 +79,9 @@ obj-y += hang.o\n obj-y += linux_compat.o\n obj-y += linux_string.o\n obj-y += membuff.o\n+ifdef CONFIG_SPL_ENV_SUPPORT\n obj-$(CONFIG_REGEX) += slre.o\n+endif\n obj-y += string.o\n obj-y += tables_csum.o\n obj-y += time.o\n","prefixes":["U-Boot"]}