From patchwork Tue Sep 23 15:44:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 37739 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5D91120970 for ; Tue, 23 Sep 2014 15:44:45 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id x13sf532133wgg.8 for ; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=T2wazyq1BKE3bcowVGdeYfsdhF2fCb3XQ6H4p+C8F78=; b=ZZFEYTdoz+1e4OkiWaERjDnZDPD+LVjC5GxdQkypevQPZfXgVgwF6A/BJQFn1af4vD uRpPs6W5Q57QJDcn02GoAVGUvqbjRiqj2MyJgqe+sQ3h0kNXCOxK8dXlh5aBxBPp6GBI /0THCMUh7QydmHyBZ37rGT5xmwsycyFCBH1DWuRTc+PM/avAvZ3i5q0bbC9WCQP9Wz0S GpHU2fV/JFQ3iIeaG11oLC/Zx0SjiHhvY+HQeXRCuoNTiyVuAyXQvid4d9c8EU88/FzE gP3bgMUDoxswS/Px6TwCnV3UiKIuT9YD1QrJf6Fi9WgIFz4Jce5PV+JYBiPM7v2VsnwL RgDQ== X-Gm-Message-State: ALoCoQlV9v+PM8MJpDuGheNXxFBY9qg+Ko/DzSNLZCdyVwoBY4CWnO6vsappl5EBYwy5aV2SdIlz X-Received: by 10.180.81.226 with SMTP id d2mr3151788wiy.5.1411487084499; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.70 with SMTP id q6ls63497lah.62.gmail; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) X-Received: by 10.153.11.132 with SMTP id ei4mr573538lad.24.1411487084252; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPS id bk7si6996586lbc.71.2014.09.23.08.44.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Sep 2014 08:44:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id b12so8877764lbj.39 for ; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) X-Received: by 10.112.200.134 with SMTP id js6mr578413lbc.0.1411487084125; Tue, 23 Sep 2014 08:44:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp437017lbb; Tue, 23 Sep 2014 08:44:43 -0700 (PDT) X-Received: by 10.180.73.115 with SMTP id k19mr4534947wiv.35.1411487083605; Tue, 23 Sep 2014 08:44:43 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id fs3si9993471wjb.51.2014.09.23.08.44.42 for ; Tue, 23 Sep 2014 08:44:43 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E841A73E2; Tue, 23 Sep 2014 17:44:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MpH-RSBlL-WK; Tue, 23 Sep 2014 17:44:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 29009A73EA; Tue, 23 Sep 2014 17:44:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A05F0A73EB for ; Tue, 23 Sep 2014 17:44:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2wdeJvlUJ5P4 for ; Tue, 23 Sep 2014 17:44:31 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 30BB7A73E2 for ; Tue, 23 Sep 2014 17:44:27 +0200 (CEST) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8NFiPnL006134 for ; Tue, 23 Sep 2014 10:44:25 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8NFiP42010644 for ; Tue, 23 Sep 2014 10:44:25 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 23 Sep 2014 10:44:24 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8NFiNAU021409; Tue, 23 Sep 2014 10:44:24 -0500 From: Felipe Balbi To: Tom Rini Date: Tue, 23 Sep 2014 10:44:17 -0500 Message-ID: <1411487058-29135-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.1.273.g97b8860 MIME-Version: 1.0 Cc: U-Boot Mailing List Subject: [U-Boot] [PATCH 1/2] common: Makefile: allow for spl builds with env_fat X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 If CONFIG_SPL_BUILD and CONFIG_ENV_IS_IN_FAT are defined, u-boot spl will fail to build. Fix that. Signed-off-by: Felipe Balbi --- common/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Makefile b/common/Makefile index aca0f7f..1ff7ce0 100644 --- a/common/Makefile +++ b/common/Makefile @@ -233,6 +233,7 @@ obj-$(CONFIG_SPL_ENV_SUPPORT) += env_flags.o obj-$(CONFIG_SPL_ENV_SUPPORT) += env_callback.o obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o +obj-$(CONFIG_ENV_IS_IN_FAT) += env_fat.o obj-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o