From patchwork Wed Jun 11 20:24:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 895541 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ecd:b0:3a4:ee3f:8f15 with SMTP id ea13csp2977825wrb; Wed, 11 Jun 2025 13:25:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXTwlFKqS7cWbxhQtrZjlkbeUaqSePYkMeGvXdc/SXUdhh06Ju3fPFcIYkUqC1vQpH0ih011Q==@linaro.org X-Google-Smtp-Source: AGHT+IEzwJt+CgplWn8ERgsztXQWAZ06Z4A3Wy8xH/yNbDgk0wdHoUz7N0O5zR8y/f1nnNTQ/hin X-Received: by 2002:a17:907:3c95:b0:ad8:9909:20a3 with SMTP id a640c23a62f3a-ade89767456mr463894466b.43.1749673558528; Wed, 11 Jun 2025 13:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1749673558; cv=none; d=google.com; s=arc-20240605; b=M64nFccqH9xTawVEYd1eAUVM9n3evOEVWvvhmisDRug85SU3KpQcybNDYPh71jKlYW ueAwSt1hRDdKXm+xghWpuofixdaU6yHCfW4kuh8pNO5bypLCld+kxDEVGhc3AaaAiC2m DuA35tEv04ACaKGr+uHkT1emOTS3i+6vSlohL+q8S4GdeHmQSUTbmSzj75sc6gmDEx9L jQvdykbJeCiMO/maOJKLV8OOYirztkYtbWJH+2EMy0AhJKu3Ul0GhrASYsbp+5axYkFb i4ikdNQO4m4s6oOgcU1HkzuRQxiBKGbvH9rudezyWdPXcLONt03FKoF/1jEnUDWR4zlx 6kAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9kbjBj6U3/9n4e8o7nYGpRJlvNKq/iy5+qlJp5kuMjw=; fh=IdVuSmS4xWri8blVnaGo9ldv8CAp9QOh+zURSdN1Qw4=; b=eE+cU8BwMtt2awNVhZosLo4Bt8K1nbFfcbRAHa0hwNrp9y63O7rHYB/tWtFY96ghiR IyGsJd0BO/1E3MeQvOlsU4QaBiXRNzfceGfrCV/VXuz9nr2gMz4SFSkB/1JngnX67eUd D4sweCKS4W4XaOijm98g+z+FGBxoBjTv92+PJ3FBzpFVMI5wN+DEYXpFyR3dAgW4uDMs GBBoeWZRpycTf/1G85DtAHYLMGQquaon+kmFOAz4gZYs8eslU+suriL1WrfMDcxooF98 4siuAxRt0v8P8xQzxc1IHLd5B5vbmaG8ONKfdAzuyfaMBIsDNd/aoFoEAaXAqQcNvHB9 dErw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MS0+srtE; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-adeadf94978si6017466b.750.2025.06.11.13.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 13:25:58 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MS0+srtE; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8C38D82C79; Wed, 11 Jun 2025 22:25:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="MS0+srtE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 553B382CA8; Wed, 11 Jun 2025 22:25:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6AF8082B63 for ; Wed, 11 Jun 2025 22:25:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-453066fad06so1416085e9.2 for ; Wed, 11 Jun 2025 13:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1749673508; x=1750278308; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9kbjBj6U3/9n4e8o7nYGpRJlvNKq/iy5+qlJp5kuMjw=; b=MS0+srtEPkaTKQH7Sj7GTGIOIBBmNgCaX78nkNgV7+/zdScsHwMpkpSBy4Yk6l6DJe i1lPIo5dn4W8RB6lwbBO/8N0OMcAAmOb1NlPybuamk+8JkkraQNk3Rw4scTi+wJjfYm5 CSgjo0jNF602F/fSDaF0wbNz38dfw0omtz6lL0cHCUsfQWLFToMGjaZW8fG43J25TGV/ IrUwVCcXdvDV+8DyhxJeEjrd7UYQ8GNx9sorj0zslWuUQkx9ZbBaQNpmS5lLszV44rRu fbMxWMIEGhFOV19uXiQk4DjNm9Su7OKEfOB7ZzK4DV5C437Q17r8v49WnMpXZeaS/mDB UlIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749673508; x=1750278308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9kbjBj6U3/9n4e8o7nYGpRJlvNKq/iy5+qlJp5kuMjw=; b=G6Fv7+DGTBYJ7vebk+qBUz2xWTKKdcdjx+pMle7YL2GZfN5G05p5VgPrZ5+JZV0hqi ZF+pZu+10isRUn6e0t5/Ju9NQP9+3V0IuUoPrigKrDtPRXu5mN4mr7RMGWUM57hV/HR+ vh8LNY6j//I4yzYhwKUmJz55lhs+uBDeEGM49JkzS5ve0WNx6p8L4hc8LAx5/H0f160z yctcuvhpNt05w1bRkLbrg9XBD/cM03Whj2V3t3k/oYfbQaM3U481FRXB7pg3nC/lHycC hDJO85l80W/NUsAbBo+kkLhCsZ2/VEpKZIdT4pkYqiS/1IYmr2k3rWVyo2V3N4/12IjU 5rRA== X-Forwarded-Encrypted: i=1; AJvYcCV/R4YHsm44w5sRS8KpH+5Xhkyh9NuGiUDAipDqbZtHShgq/wmR6tlDsH4m9GdfBUuauEWu1DM=@lists.denx.de X-Gm-Message-State: AOJu0Yxfs80ioGKKcXvkdHBUheLzD0ueftP82bmL2UIf1QNuoSekUxWp KctBr3hRILWRVBJZyzSlcCYSYZsq3xaalbxPTP1A5A+ZNhNUPj2aIgDnU81XU2Laj6c= X-Gm-Gg: ASbGncvorBCIk4NMaYJxBulXDhWlqTuJorpEKgeDJyCqcCJYEgr6u4YE6JABj7pLTRv +y2qV/IMFztpZywSvxALmL4KJATm0882KEQqDgjzz9R9zpSBEblDnenYa5Rb23qLNicF2Awvdqq Q1NSRfH3FnsfbTmHUG7BeyLlbFdHy7kq5I/RanUCak1+yx2cAuL2+mZl6LWFF6oToRs6wI8/N4w 4qtT9Mpw/iEqMb+8TjPLrBYEdsDHTQ9cw9R5P4nHK4iNLntlRjWOvlPuS1q2NfFFMNTlUForkpn OaQJ9ZRpPJttZ+FovbM/a+9I2V7kXL31PgDjiB7frenWOrgrTPdxRlmv/9KacT7zizbUBqNEzd3 cZ64GJ8bPKO/AC5SDG8fwmv1+NxuOdMbsSVkZGOY01vPNgznqNyo= X-Received: by 2002:a05:6000:2507:b0:3a4:ea1f:3534 with SMTP id ffacd0b85a97d-3a558691657mr3825823f8f.5.1749673507877; Wed, 11 Jun 2025 13:25:07 -0700 (PDT) Received: from localhost.localdomain (ppp089210105145.access.hol.gr. [89.210.105.145]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a561a3c538sm12071f8f.50.2025.06.11.13.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 13:25:06 -0700 (PDT) From: Ilias Apalodimas To: trini@konsulko.com Cc: Ilias Apalodimas , Simon Glass , Marek Vasut , Michal Simek , Prasad Kummari , Yao Zi , u-boot@lists.denx.de Subject: [PATCH v2 06/13] kbuild: gitignore output directory Date: Wed, 11 Jun 2025 23:24:33 +0300 Message-ID: <20250611202449.2317279-7-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250611202449.2317279-1-ilias.apalodimas@linaro.org> References: <20250611202449.2317279-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Backported from kernel commit 3a51ff344204 ("kbuild: gitignore output directory" Signed-off-by: Ilias Apalodimas --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 00c0d76e1954..2b9516bf4ff7 100644 --- a/Makefile +++ b/Makefile @@ -513,10 +513,13 @@ PHONY += outputmakefile # outputmakefile generates a Makefile in the output directory, if using a # separate output directory. This allows convenient use of make in the # output directory. +# At the same time when output Makefile generated, generate .gitignore to +# ignore whole output directory outputmakefile: ifneq ($(KBUILD_SRC),) $(Q)ln -fsn $(srctree) source $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) + $(Q){ echo "# this is build directory, ignore it"; echo "*"; } > .gitignore endif # To make sure we do not include .config for any of the *config targets