diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-31 06:19:59 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-05 12:33:50 +0200 |
commit | 284fab766a3564560ed2d7bf77e9d94a84af541c (patch) | |
tree | 0afb5a79f9aa9c5c5de62a8e3c4d98a002bf5899 | |
parent | 4db4d028196414b693674f7768da7b0b4e8bc17a (diff) | |
download | ptxdist-284fab766a3564560ed2d7bf77e9d94a84af541c.tar.gz ptxdist-284fab766a3564560ed2d7bf77e9d94a84af541c.tar.xz |
kernel: use install_glob
With this change strip=y will no longer be specified for non elf files.
This will be needed for later changes, when any explicitly specified strip
argument is enforced.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/kernel.make | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rules/kernel.make b/rules/kernel.make index 3e9fcde90..5172f428b 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -287,10 +287,8 @@ ifdef PTXCONF_KERNEL_MODULES_INSTALL @$(call install_fixup, kernel-modules, AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, kernel-modules, DESCRIPTION,missing) - @cd $(KERNEL_PKGDIR) && \ - find lib -type f | while read file; do \ - $(call install_copy, kernel-modules, 0, 0, 0644, -, /$${file}, k) \ - done + @$(call install_glob, kernel-modules, 0, 0, -, /lib/modules, *.ko,, k) + @$(call install_glob, kernel-modules, 0, 0, -, /lib/modules,, *.ko, n) @$(call install_finish, kernel-modules) endif |