mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 17:11:03 +00:00
greybus: build: android: add all greybus modules to the build
We now have several modules generated by the greybus build. Let's add any *.ko files we find to the buid. Signed-off-by: Michael Scott <michael.scott@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
65760032f5
commit
58b978c48b
1 changed files with 3 additions and 1 deletions
|
@ -29,4 +29,6 @@ build-greybus: android_kernel
|
|||
cd $(GREYBUS_SRC_PATH) &&\
|
||||
$(MAKE) -j$(MAKE_JOBS) CROSS_COMPILE=$(KERNEL_TOOLS_PREFIX) $(ARGS)
|
||||
mkdir -p $(GREYBUS_MODULE_OUT_PATH)
|
||||
cp $(GREYBUS_SRC_PATH)/greybus.ko $(GREYBUS_MODULE_OUT_PATH)
|
||||
ko=`find $$GREYBUS_SRC_PATH -type f -name *.ko`;\
|
||||
for i in $$ko; do $(KERNEL_TOOLCHAIN_PATH)strip --strip-unneeded $$i;\
|
||||
mv $$i $(GREYBUS_MODULE_OUT_PATH)/; done;
|
||||
|
|
Loading…
Reference in a new issue