diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-16 07:27:57 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-16 07:27:57 -0600 |
| commit | cdf138845471d4d9d31da6aac8b2e8300db6d1af (patch) | |
| tree | fde937d35a73d1c19129e606e5b7543ec663e71f /scripts/Makefile.modinst | |
| parent | 4883c96a0e3245ca007ad7dd79714daa1c573495 (diff) | |
kbuild: Fix modules_install w/o modules error
I fixed scripts/Makefile.modpost to handle CONFIG_MODULES but no modules
selected, but forgot scripts/Makefile.modinst
(pointed out by akpm)
Diffstat (limited to 'scripts/Makefile.modinst')
| -rw-r--r-- | scripts/Makefile.modinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index 1f94c0990078..1e99ce453835 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst @@ -9,7 +9,7 @@ include scripts/Makefile.lib # -__modules := $(shell cd $(MODVERDIR); cat *.mod) +__modules := $(shell cat /dev/null $(wildcard $(MODVERDIR)/*.mod)) modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o))) ifneq ($(filter-out $(modules),$(__modules)),) |
