[PATCH] kbuild: skip depmod if not executable
I've cross-compiled Linux on i386-netbsdelf2.0 for
arm-linux for quite some time now and everything seems
to be working perfectly except for one minor glitch in
the build process that halts module installation
(needlessly, IMHO). Specifically, if System.map exists
$(DEPMOD) is run ("for convenience" as the comment
says in the Makefile). However, on NetBSD I don't have
$(DEPMOD) available so the command fails and make
exits with non-zero exit status. Please consider the
attached patch to add a check for $(DEPMOD) so that
missing $(DEPMOD) won't halt the whole build process.
From: Tero Niemela <tero_niemela@yahoo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing
Please register or sign in to comment