Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp460336ybh; Mon, 20 Jul 2020 22:48:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWZ/2yq46llkxrpeRfSxft1O3J3EEpJdwIZNUgHKRlSRTb3Cy6QVC+omeixgV90vr0q8lU X-Received: by 2002:aa7:d692:: with SMTP id d18mr25066359edr.73.1595310521359; Mon, 20 Jul 2020 22:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595310521; cv=none; d=google.com; s=arc-20160816; b=JcnQQCvSIieBsoyyYdkfpm0pCANjji8Ma0xauCOR+HQlVbF3CvYa3L4i5bBnD1xTrZ 09hDIVdUzO32TVd7aZZV5SBa1m9KGn0tCUnqf25AQbcW48LUuqSDEo0F2kjvLngoBEiW QNPpbLNFIUEclJ0P7BtAeHVN/kQnNXlFE70O6M98GNlNoszbPGD4sARq27zPvlPLa2zK AF/+hmwE9B9DApItzby7oxXu+vzOZjrFpYu2ZDOEjLk70tRMQFPOqJMCP7qNK9f86VZn liIopb+YndGFyc1sDvQSVoByKUeKdtt+IWYBYcqDQUdeR4wwSG9vjEkmzM9J7NXiltjl ipZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6bWhgtkGXl6Kr1YSJF6to7Kggw6JeAK3tzV29Pot9eE=; b=ll5WDWWBIqDvp9O9TySgEpuEhxZlR6GFq3dUQ2hazs+wd/xumaK6KOOL2DpLt2ZNH6 fq68zknTrz88Fw8fjponaJndR5heDcrU9Y/jl6gLMtMvz6RVYTxJ9IYhrk9LspkLO3gn E0wmROoPeqNOwrk0FYXHWQniDvotlTL7yPU/6KGgczrRTpoRgK3HgiBKLIqVbDmY9o0U jHXqHm/+kB+YCTA6X7Nol+KEv7dzS+6SeFa4YvR/Jk3yd+b/nqomSd0+ZkYx4KZ8m0Zu xEwR0Pp6TJwvU+RsL1l83ZLDBIEQhViDpacG9vSEiT+yiqOTMH3cYiqTeIhINWxcRC2v 0qTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GpsYhtzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i5si11989932edn.258.2020.07.20.22.48.18; Mon, 20 Jul 2020 22:48:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GpsYhtzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728164AbgGUFq7 (ORCPT + 99 others); Tue, 21 Jul 2020 01:46:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728149AbgGUFq7 (ORCPT ); Tue, 21 Jul 2020 01:46:59 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60E74C061794 for ; Mon, 20 Jul 2020 22:46:59 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id o13so11444502pgf.0 for ; Mon, 20 Jul 2020 22:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6bWhgtkGXl6Kr1YSJF6to7Kggw6JeAK3tzV29Pot9eE=; b=GpsYhtzNWnN0HW+fNwL7PAgSnz2F9w1gv/tLKcveDJgBQDYxUBUIW6gU5JOOUvk4gq amQNfoE0TPH/tgmQdNg7PiG2xDLyq81+78VOrdMoWyy8v3ataKm75lqQV7oNxr46xUiz GXvukLmAed2o9wya4/8gkYJMixGJjDSyhUDzFqSYVWHDMzdqR6WlhifWKCH2Ukyr3Ixm eupKPDtf3dt7R8lBIIHmbg+sFNGmvUYGZfjOzHugwyjp6mIZcBXsxIrQdIUdFv28WmY4 ZrDBbvbbZUwVBLCvzpyLOdGcxr85p0BkLTqqkP3d6Bly3HTKzj0QVjB1W6vusWL0+m4P 5g2w== 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:mime-version :content-transfer-encoding; bh=6bWhgtkGXl6Kr1YSJF6to7Kggw6JeAK3tzV29Pot9eE=; b=PvxApVt2ILdTPoTufxuYDlHpInKFy9VUquNRFLXNXvug9h6PWDuRUDKlHMhyu93xzk HXqSpPgcn7j1J74XO/aob24wmJLJ+Un74Ynt5NzcAR24utzZX8nVppFl5wGvQBF24Top nLJ/kJuZHkLobtlJJodAzaFXYgIb5z3aDzVVmhe2vM1VZerbMb3X5r6BGh1a66Uak9cz HdWm0QTUB7ylm+tPgCxY4RRGCXYu1sSPrgRH1pJlSaZ7FXJ5jYRWuB6gaWp65lCuYs6T TJH1PYB5CNINglquvFEQ+u0LFdGJqRwlLellWflCj1E25Tn5Vp2Fzk9SLndWSf/c+imk b0bA== X-Gm-Message-State: AOAM532WEO3qr5iVERzhxXx3cs3Hr1fbgWpFszlmE6zo3ECI9cInShmm tcOtP9fc7RIZnsSC4pPWC64= X-Received: by 2002:a62:346:: with SMTP id 67mr23020674pfd.111.1595310418976; Mon, 20 Jul 2020 22:46:58 -0700 (PDT) Received: from octofox.cadence.com ([2601:641:400:e00:19b7:f650:7bbe:a7fb]) by smtp.gmail.com with ESMTPSA id h18sm19110280pfr.186.2020.07.20.22.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 22:46:58 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov , Masahiro Yamada Subject: [PATCH] xtensa: add boot-elf targets to extra-y Date: Mon, 20 Jul 2020 22:46:46 -0700 Message-Id: <20200721054646.18497-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit 8fe87a92f262 ("kbuild: always create directories of targets") exposed an issue in the xtensa makefiles that results in the following build error in a clean directory: scripts/Makefile.build:374: arch/xtensa/boot/boot-elf/boot.lds] Error 1 arch/xtensa/boot/boot-elf/bootstrap.S:21: fatal error: opening dependency file arch/xtensa/boot/boot-elf/.bootstrap.o.d: No such file or directory Intermediate targets in arch/xtensa/boot/boot-elf don't get into 'targets' and build directory is not created for them. Add boot.lds and bootstrap.o to extra-y. Cc: Masahiro Yamada Signed-off-by: Max Filippov --- arch/xtensa/boot/boot-elf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/xtensa/boot/boot-elf/Makefile b/arch/xtensa/boot/boot-elf/Makefile index a62a25506536..eb952d809d81 100644 --- a/arch/xtensa/boot/boot-elf/Makefile +++ b/arch/xtensa/boot/boot-elf/Makefile @@ -15,6 +15,7 @@ export CPPFLAGS_boot.lds += -P -C export KBUILD_AFLAGS += -mtext-section-literals boot-y := bootstrap.o +extra-y := boot.lds $(boot-y) OBJS := $(addprefix $(obj)/,$(boot-y)) -- 2.20.1