- 积分
- 8
贡献53
飞刀10 FD
注册时间2024-3-7
在线时间1 小时
扫一扫,手机访问本帖
|
编译提供的源码,提示这个错误,是怎么回事,麻烦帮忙看看,多谢
forlinx@ubuntu:~/imx8mm/OK8MM-linux-sdk$ make
=================================
Building the Linux Kernel
=================================
make -j -C LDFLAGS=
make[1]: *** LDFLAGS=: No such file or directory. Stop.
Makefile:11: recipe for target 'linux' failed
make: *** [linux] Error 2
forlinx@ubuntu:~/imx8mm/OK8MM-linux-sdk$ cat Makefile
all: \
linux linux_install \
qt-examples qt-examples_install \
cmd-examples cmd-examples_install \
sdcard
clean: linux_clean qt-examples_clean cmd-examples_clean
# Kernel build targets
linux:
@echo =================================
@echo Building the Linux Kernel
@echo =================================
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) $(LINUX_DEFCONFIG) LDFLAGS=
$(MAKE) -j $(MAKE_JOBS) -C $(LINUXKERNEL_INSTALL_DIR) LDFLAGS=
install $(LINUXKERNEL_INSTALL_DIR)/arch/arm64/boot/Image $(SDK_PATH)/images/boot
install $(LINUXKERNEL_INSTALL_DIR)/arch/arm64/boot/dts/freescale/ok8mm-evk.dtb $(SDK_PATH)/images/boot
@if [ -e $(SDK_PATH)/images/boot.img ];then \
rm $(SDK_PATH)/images/boot.img ; \
fi
mkfs.vfat -n "Boot imx8mmevk" -S 512 -C $(SDK_PATH)/images/boot.img 65536
mcopy -i $(SDK_PATH)/images/boot.img -s $(SDK_PATH)/images/boot/Image ::/Image
mcopy -i $(SDK_PATH)/images/boot.img -s $(SDK_PATH)/images/boot/ok8mm-evk.dtb ::/ok8mm-evk.dtb
mcopy -i $(SDK_PATH)/images/boot.img -s $(SDK_PATH)/images/boot/logo.bmp ::/logo.bmp
|
-
|