0
在我AndroidBoard.mk我这行错误'cp'命令?
# device.mk doesn't know about us, and we can't PRODUCT_COPY_FILES here.
# So cp will do.
.PHONY: $(PRODUCT_OUT)/kernel
$(PRODUCT_OUT)/kernel: $(TARGET_PREBUILT_KERNEL)
cp $(TARGET_PREBUILT_KERNEL) $(PRODUCT_OUT)/kernel
但终端给了我这个错误:
cp out/target/product/w7/kernel cp: missing destination file operand after ‘out/target/product/w7/kernel’ Try 'cp --help' for more information. make: *** [out/target/product/w7/kernel] Error 1
这有什么错呢? :(
所以,我应该做这样的事情: 'TARGET_P REBUILT_KERNEL =/directory/of/kernel' cp命令写入之前? – SlimShadys
我会试试看,或者你应该搜索它的定义,并检查它为什么没有被定义 – W0rmH0le