From patchwork Wed Mar 18 09:35:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaniv Gardi X-Patchwork-Id: 6037311 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3727E9F39E for ; Wed, 18 Mar 2015 09:36:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 652EB2045E for ; Wed, 18 Mar 2015 09:36:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDC79204D5 for ; Wed, 18 Mar 2015 09:36:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755158AbbCRJgB (ORCPT ); Wed, 18 Mar 2015 05:36:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60478 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755058AbbCRJgA (ORCPT ); Wed, 18 Mar 2015 05:36:00 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id AD4B6140A4F; Wed, 18 Mar 2015 09:35:59 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 97D1E140A56; Wed, 18 Mar 2015 09:35:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lx-ygardi.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ygardi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 95F04140A4F; Wed, 18 Mar 2015 09:35:57 +0000 (UTC) From: Yaniv Gardi To: chris@printf.net, linux-mmc@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Yaniv Gardi , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1] qcom: opensource: mmc-utils: fix building errors Date: Wed, 18 Mar 2015 11:35:51 +0200 Message-Id: <1426671352-5529-1-git-send-email-ygardi@codeaurora.org> X-Mailer: git-send-email 1.8.5.2 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 3rd party HMAC SHA256 implementation has been added to the driver, and since driver common code (mmc_cmds.c) includes calling to routines and data structures that reside in these 3rd party files (under 3rdparty\hmac_sha) these files should be compiled as well in Android.mk makefile. Change-Id: Ica1ea5e4c7b8efecfba07c35f87ea6bb6716b668 Signed-off-by: Yaniv Gardi --- Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.mk b/Android.mk index 7c8cce4..4b7afb1 100644 --- a/Android.mk +++ b/Android.mk @@ -3,6 +3,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES:= mmc.c mmc_cmds.c +LOCAL_SRC_FILES += 3rdparty/hmac_sha/sha2.c 3rdparty/hmac_sha/hmac_sha2.c LOCAL_MODULE := mmc_utils LOCAL_SHARED_LIBRARIES := libcutils libc LOCAL_C_INCLUDES+= $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include