提交 b3b983c2 编写于 作者: M Michael Scott 提交者: Greg Kroah-Hartman

greybus: build: android: Fix script which locates .ko files and moves them into ramdisk

- Fixed incorrect use of $$GREYBUS_SRC_PATH variable
- Added quotes around find pattern to stop shell expansion of "*"
Signed-off-by: NMichael Scott <michael.scott@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <greg@kroah.com>
上级 15d651b0
......@@ -29,6 +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)
ko=`find $$GREYBUS_SRC_PATH -type f -name *.ko`;\
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;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册