On Fri, Feb 14, 2025 at 01:12:22PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Add a Makefile to the tools/ directory so that we can put helper scripts > in there and have them installed at make install time. The makefile > comes from a conversation that Zorro and I had over IRC, hence the RH > copyright. > > Suggested-by: Zorro Lang <zlang@xxxxxxxxxx> > Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> > --- Ahahah, I'm just going to send the patches (we've talked) to you. So looks like you've solve the big problem :) Anyway, this change is good to me. Thanks for doing this, I've tested this change. Reviewed-by: Zorro Lang <zlang@xxxxxxxxxx> > Makefile | 2 +- > tools/Makefile | 17 +++++++++++++++++ > 2 files changed, 18 insertions(+), 1 deletion(-) > create mode 100644 tools/Makefile > > diff --git a/Makefile b/Makefile > index d4b77c1cd17787..e2e47ffc2e6e07 100644 > --- a/Makefile > +++ b/Makefile > @@ -40,7 +40,7 @@ LDIRT += $(SRCTAR) > endif > > LIB_SUBDIRS = include lib > -TOOL_SUBDIRS = ltp src m4 common > +TOOL_SUBDIRS = ltp src m4 common tools > > SUBDIRS = $(LIB_SUBDIRS) $(TOOL_SUBDIRS) $(TESTS_DIR) > > diff --git a/tools/Makefile b/tools/Makefile > new file mode 100644 > index 00000000000000..3ee532a7e563a9 > --- /dev/null > +++ b/tools/Makefile > @@ -0,0 +1,17 @@ > +# > +# Copyright (c) 2025 Red Hat Inc. All Rights Reserved. > +# > + > +TOPDIR = .. > +include $(TOPDIR)/include/builddefs > + > +TOOLS_DIR = tools > + > +include $(BUILDRULES) > + > +default: > + > +install: default > + $(INSTALL) -m 755 -d $(PKG_LIB_DIR)/$(TOOLS_DIR) > + > +install-dev install-lib: >