Messages in this thread Patch in this message | | | Date | Sun, 15 Aug 2004 22:20:13 +0200 | From | Sam Ravnborg <> | Subject | kbuild: Allow external modules to use host.progs with no warning |
| |
# 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |