diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-04-04 00:50:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-04-04 00:50:47 +0200 |
commit | b7b470b7df1d946d9c6e655f3c6f1837bac5a949 (patch) | |
tree | 3c0ce9fff0728a2401b2caed6fe23fed07af6d1d /backport/Makefile.real | |
parent | 72d9635de71269b848f13670db0317e31bed7a94 (diff) |
build: add simple 'install' target
This really just installs the modules, everything else
is still missing.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'backport/Makefile.real')
-rw-r--r-- | backport/Makefile.real | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backport/Makefile.real b/backport/Makefile.real index 3536fe2e..c419772a 100644 --- a/backport/Makefile.real +++ b/backport/Makefile.real @@ -65,3 +65,21 @@ include/linux/compat_autoconf.h: .config .PHONY: modules modules: include/linux/compat_autoconf.h @$(MAKE) -f Makefile.build modules + +.PHONY: install +install: modules + @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_PWD) \ + INSTALL_MOD_DIR=$(KMODDIR) $(KMODPATH_ARG) \ + modules_install + @/sbin/depmod -ae + @echo + @echo Your backported driver modules should be installed now. + @echo Try loading them with modprobe. + @echo +# FIXME: +# compress modules +# check depmod +# iwlwifi vs. iwlagn +# iwl4965 vs. iwlagn +# install/load/unload/... scripts? +# compat firmware class udev stuff |