From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Mon, 30 Mar 2015 00:08:28 +0200 Subject: [Buildroot] [PATCH 15/35] pkg-kconfig: declare phony targets as such In-Reply-To: <1427650429-9293-16-git-send-email-thomas.petazzoni@free-electrons.com> References: <1427650429-9293-1-git-send-email-thomas.petazzoni@free-electrons.com> <1427650429-9293-16-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20150329220828.GP4093@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2015-03-29 19:33 +0200, Thomas Petazzoni spake thusly: > Just like the previous commit did for the pkg-generic infrastructure, > this commit improves the pkg-kconfig infrastructure to declare its > custom - targets as PHONY. > > Signed-off-by: Thomas Petazzoni > --- > package/pkg-kconfig.mk | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk > index 04ac37d..69e7dc5 100644 > --- a/package/pkg-kconfig.mk > +++ b/package/pkg-kconfig.mk > @@ -100,6 +100,8 @@ $(1)-update-defconfig: $(1)-savedefconfig > > endif # package enabled > > +.PHONY: $(1)-update-config $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)) What about: $(1)-savedefconfig $(1)-update-defconfig Regards, Yann E. MORIN. > endef # inner-kconfig-package > > ################################################################################ > -- > 2.1.0 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'