From: Sam Ravnborg <sam@ravnborg.org>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: kbuild: Allow external modules to use host.progs with no warning
Date: Sun, 15 Aug 2004 22:20:13 +0200 [thread overview]
Message-ID: <20040815202013.GE14133@mars.ravnborg.org> (raw)
In-Reply-To: <20040815201224.GI7682@mars.ravnborg.org>
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/15 21:54:22+02:00 sam@mars.ravnborg.org
# kbuild: Allow external modules to use host-progs with no warning
#
# Only warn if $(host-progs) and $(hostptogs-y) are not equal.
# This allows external modules to use:
# hostprogs-y := file ...
# host-progs := $(hostprogs-y)
#
# This is backwards compatible and will not warn.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# scripts/Makefile.build
# 2004/08/15 21:54:06+02:00 sam@mars.ravnborg.org +2 -0
# Only warn if $(host-progs) and $(hostptogs-y) are not equal.
# This allows external modules to use:
# hostprogs-y := file ...
# host-progs := $(hostprogs-y)
#
# This is backwards compatible and will not warn.
#
diff -Nru a/scripts/Makefile.build b/scripts/Makefile.build
--- a/scripts/Makefile.build 2004-08-15 22:20:04 +02:00
+++ b/scripts/Makefile.build 2004-08-15 22:20:04 +02:00
@@ -15,8 +15,10 @@
include scripts/Makefile.lib
ifdef host-progs
+ifneq ($(hostprogs-y),$(host-progs))
$(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!)
hostprogs-y += $(host-progs)
+endif
endif
# Do not include host rules unles needed
next prev parent reply other threads:[~2004-08-15 20:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-15 20:12 kbuild + kconfig: Updates Sam Ravnborg
2004-08-15 20:15 ` kbuild: bogus has no CRC warning Sam Ravnborg
2004-08-15 20:16 ` kbuild: *.lds.s -> *.lds rename. Infrastructure Sam Ravnborg
2004-08-15 20:17 ` kbuild/all archs: Rename all *.lds.s to *.lds Sam Ravnborg
2004-08-15 20:19 ` kbuild: Delete unnessesary $(wildcard ...) Sam Ravnborg
2004-08-15 20:20 ` Sam Ravnborg [this message]
2004-08-15 20:22 ` kconfig: Kconfig.debug Sam Ravnborg
2004-08-15 20:42 ` kbuild + kconfig: Updates viro
2004-08-16 20:45 ` Sam Ravnborg
2004-08-16 20:01 ` viro
2004-08-16 22:20 ` Sam Ravnborg
2004-08-16 22:29 ` Sam Ravnborg
2004-08-16 14:55 ` kbuild/ia64: Fix breakage in arch/ia64/kernel/Makefile Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040815202013.GE14133@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.