summaryrefslogtreecommitdiff
path: root/package/kernel/linux/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-18 10:47:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-18 10:47:00 +0000
commit6640b83a3ed626b6c233a48b9f271a52b5ffb980 (patch)
treef5143305b9fe5446dd0f6378d4825c2171a3ff4f /package/kernel/linux/Makefile
parent8aa106cf43fff5c05c14cff09071e95fc0a22996 (diff)
downloadmtk-20170518-6640b83a3ed626b6c233a48b9f271a52b5ffb980.zip
mtk-20170518-6640b83a3ed626b6c233a48b9f271a52b5ffb980.tar.gz
mtk-20170518-6640b83a3ed626b6c233a48b9f271a52b5ffb980.tar.bz2
build: add kernel modules to package provides info (along with shared libs)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37385
Diffstat (limited to 'package/kernel/linux/Makefile')
-rw-r--r--package/kernel/linux/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
index d44b5a7..4ca442f 100644
--- a/package/kernel/linux/Makefile
+++ b/package/kernel/linux/Makefile
@@ -46,6 +46,10 @@ define Package/kernel/install
# nothing to do
endef
+define Package/kernel/extra_provides
+ sed -e 's,.*/,,' $(LINUX_DIR)/modules.builtin;
+endef
+
$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
include $(sort $(wildcard ./modules/*.mk))