Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7EC28D0D152 for ; Wed, 7 Jan 2026 17:51:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id EEE0540E4E; Wed, 7 Jan 2026 17:51:04 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id hJrbSEIP--qi; Wed, 7 Jan 2026 17:51:04 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 01C4C40E54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1767808264; bh=6jWDtQAp42OVhY/39IIRR5JOyjxqj6PXHSBZt2BAYdE=; h=To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=kDdWOBcxa046DWK2c4ajmS63mmpPSl2J/VlzOgqRUMwLVGKP8taQFWe5tWGKiKlKM pJKlbKT/NimzFJN81RupSSjPiwFkI1OD85l7kjGXsT+Prykk5MxBwYWUcv6K6V8h+E lKbmy7a/KU80c6tFBGuWJFYgwoYrjP9NlMvnwrRiz+te6TB4KeFajXKbe6i/98zoi9 Z++33dBTIP+WqVbbYNKbhBYhw8WmyXbibe1MvQDvIk5ZhO9hvnwbstiLyAoUn3ny4s /BLqzvP0v+v+NsJg3Gg94wezrYXgpyDwr/36zgxC9QxCh4Z4pYs3ZnuUm3SrZMJUwU cn2qYwP1WbV4Q== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 01C4C40E54; Wed, 7 Jan 2026 17:51:04 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 1745F9ED for ; Wed, 7 Jan 2026 17:51:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F18B740E71 for ; Wed, 7 Jan 2026 17:51:02 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3xg5Lcq_4O8K for ; Wed, 7 Jan 2026 17:51:02 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.99.201.12; helo=mail.nubo.coop; envelope-from=arnout@rnout.be; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org EC24E40E5B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org EC24E40E5B Received: from mail.nubo.coop (mail2.nubo.coop [79.99.201.12]) by smtp4.osuosl.org (Postfix) with ESMTPS id EC24E40E5B for ; Wed, 7 Jan 2026 17:51:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2F67EB97A596; Wed, 7 Jan 2026 18:51:00 +0100 (CET) To: Thomas Petazzoni Cc: Arnout Vandecappelle , buildroot@buildroot.org Date: Wed, 7 Jan 2026 18:50:59 +0100 Message-ID: <20260107175059.227208-1-arnout@rnout.be> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251223181013.383914-4-thomas.petazzoni@bootlin.com> References: <20251223181013.383914-4-thomas.petazzoni@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rnout.be; s=dkim; t=1767808260; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Rw0Fy8Bm8pqk/Wvp0jG/jLvGmh/cRY2TolTX/R6kTcs=; b=mCPWGgtGUdEiqdokyZ7sEKYwFXf0eJqwTrdgu4p0j7bpuMRGO66BT7mb9+owz1qs5T3/cG 5a6wWmgwMC5ySM7/c/ReVTn2/nnIlBEALiwrSntt7Au2NaAZiIaKYhrx0EHA7wv9ltQUSE nfA2IYG3pPOKDFQInplD1f7Cy/j2/iwthHfpnTCQJePaDl5hmVJXoFTl8m9aXNqNZ9THF9 hzs4h+gTxI5xH+DnI9wnBlAYFjX4UVoYbZlIy78eHb+n2PAyfvY5BUt5189UEjGKBpoh2D tDfw4CE9ypOs535i+IQiFRFcg7VmaOEVvM0+4wGacMGQy0BKR2TeliS+/hE/Yw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=reject dis=none) header.from=rnout.be X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=rnout.be header.i=@rnout.be header.a=rsa-sha256 header.s=dkim header.b=mCPWGgtG Subject: Re: [Buildroot] [PATCH 3/4] package/vim: refactor install target logic X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Arnout Vandecappelle via buildroot Reply-To: Arnout Vandecappelle Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" In reply of: > Instead of calling $(MAKE) multiple times, let's call it once, with > all installation targets needed. We introduce a VIM_INSTALL_TARGETS > variable to collect the list of make install targets that need to be > invoked. > > Signed-off-by: Thomas Petazzoni Applied to 2025.02.x and 2025.11.x. Thanks > --- > package/vim/vim.mk | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/package/vim/vim.mk b/package/vim/vim.mk > index 10ff3a109b..a1a484c673 100644 > --- a/package/vim/vim.mk > +++ b/package/vim/vim.mk > @@ -46,17 +46,18 @@ else > VIM_CONF_OPTS += --disable-selinux > endif > > +VIM_INSTALL_TARGETS = \ > + installvimbin installpack \ > + installtools installlinks > + > +ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y) > +VIM_INSTALL_TARGETS += installrtbase installmacros > +endif > + > define VIM_INSTALL_TARGET_CMDS > $(RM) -f $(TARGET_DIR)/usr/bin/{ex,view,rvim,rview,vimdiff} > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installvimbin > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installpack > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installtools > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installlinks > -endef > - > -define VIM_INSTALL_RUNTIME_CMDS > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installrtbase > - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) installmacros > + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \ > + $(VIM_INSTALL_TARGETS) > endef > > define VIM_REMOVE_DOCS > @@ -77,7 +78,6 @@ endif > VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_VI_SYMLINK > > ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y) > -VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS > VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS > endif > > -- > 2.52.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot