{"id":809335,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809335/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170903171710.27708-1-clemens.gruber@pqgruber.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170903171710.27708-1-clemens.gruber@pqgruber.com>","list_archive_url":null,"date":"2017-09-03T17:17:10","name":"[U-Boot] crypto/fsl: fix obj-yy in Makefile","commit_ref":"4c2cf973aa109844532775adeb1dec358280c217","pull_url":null,"state":"accepted","archived":false,"hash":"994621cf3cde34311a5c1f0ad3e7c604044c9539","submitter":{"id":66509,"url":"http://patchwork.ozlabs.org/api/1.2/people/66509/?format=json","name":"Clemens Gruber","email":"clemens.gruber@pqgruber.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170903171710.27708-1-clemens.gruber@pqgruber.com/mbox/","series":[{"id":1261,"url":"http://patchwork.ozlabs.org/api/1.2/series/1261/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1261","date":"2017-09-03T17:17:10","name":"[U-Boot] crypto/fsl: fix obj-yy in Makefile","version":1,"mbox":"http://patchwork.ozlabs.org/series/1261/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809335/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809335/checks/","tags":{},"related":[],"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 3xlfph6PRCz9t3F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 03:19:07 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 843B9C21F01; Sun,  3 Sep 2017 17:18:59 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C9503C21DCE;\n\tSun,  3 Sep 2017 17:18:57 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 2BFB5C21DBF; Sun,  3 Sep 2017 17:18:56 +0000 (UTC)","from mail.pqgruber.com (mail.pqgruber.com [178.189.19.235])\n\tby lists.denx.de (Postfix) with ESMTPS id C8779C21DCE\n\tfor <u-boot@lists.denx.de>; Sun,  3 Sep 2017 17:18:55 +0000 (UTC)","from localhost.localdomain (213-47-169-111.cable.dynamic.surfer.at\n\t[213.47.169.111])\n\tby mail.pqgruber.com (Postfix) with ESMTPSA id 073049E02C;\n\tSun,  3 Sep 2017 19:18:54 +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\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Clemens Gruber <clemens.gruber@pqgruber.com>","To":"u-boot@lists.denx.de","Date":"Sun,  3 Sep 2017 19:17:10 +0200","Message-Id":"<20170903171710.27708-1-clemens.gruber@pqgruber.com>","X-Mailer":"git-send-email 2.14.1","Cc":"Clemens Gruber <clemens.gruber@pqgruber.com>,\n\tTom Rini <trini@konsulko.com>","Subject":"[U-Boot] [PATCH] crypto/fsl: fix obj-yy in Makefile","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":"When enabling CONFIG_CMD_BLOB and/or CONFIG_CMD_DEKBLOB, the build fails\nwith a linker error:\n  ...\n  LD      u-boot\narch/arm/mach-imx/built-in.o: In function `blob_encap_dek':\n/home/clemens/dev/u-boot/arch/arm/mach-imx/cmd_dek.c:46: undefined\nreference to `blob_dek'\n\nThis is due to an error in the Makefile, resulting in obj-yy/obj-yn/..\nand fsl_blob.o is therefore not linked.\n\nFix it by splitting it up into two obj-y lines.\n\nSigned-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>\n---\n drivers/crypto/fsl/Makefile | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile\nindex fd736cf3be..ea878e1822 100644\n--- a/drivers/crypto/fsl/Makefile\n+++ b/drivers/crypto/fsl/Makefile\n@@ -6,5 +6,6 @@\n \n obj-y += sec.o\n obj-$(CONFIG_FSL_CAAM) += jr.o fsl_hash.o jobdesc.o error.o\n-obj-$(CONFIG_CMD_BLOB)$(CONFIG_CMD_DEKBLOB) += fsl_blob.o\n+obj-$(CONFIG_CMD_BLOB) += fsl_blob.o\n+obj-$(CONFIG_CMD_DEKBLOB) += fsl_blob.o\n obj-$(CONFIG_RSA_FREESCALE_EXP) += fsl_rsa.o\n","prefixes":["U-Boot"]}