mirror of
https://github.com/torvalds/linux.git
synced 2026-01-24 23:16:46 +00:00
tools/net/ynl: Makefile's install target now installs ynltool
This tool is built by default, but was not being installed by default when running `make install`. Fix this by calling ynltool's install target. Signed-off-by: Michel Lind <michel@michel-slm.name> Link: https://patch.msgid.link/aWqr9gUT4hWZwwcI@mbp-m3-fedora.vm Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
a9f470594c
commit
a917cd0a23
@@ -41,7 +41,7 @@ clean distclean:
|
||||
rm -rf pyynl.egg-info
|
||||
rm -rf build
|
||||
|
||||
install: libynl.a lib/*.h
|
||||
install: libynl.a lib/*.h ynltool
|
||||
@echo -e "\tINSTALL libynl.a"
|
||||
@$(INSTALL) -d $(DESTDIR)$(libdir)
|
||||
@$(INSTALL) -m 0644 libynl.a $(DESTDIR)$(libdir)/libynl.a
|
||||
@@ -51,6 +51,7 @@ install: libynl.a lib/*.h
|
||||
@echo -e "\tINSTALL pyynl"
|
||||
@pip install --prefix=$(DESTDIR)$(prefix) .
|
||||
@make -C generated install
|
||||
@make -C ynltool install
|
||||
|
||||
run_tests:
|
||||
@$(MAKE) -C tests run_tests
|
||||
|
||||
Reference in New Issue
Block a user