在编译出厂源码的时候,运行./build.sh报错
uu@u24:~/ATK-DLMP135/alientek_ uboot/u-boot-stm32mp-v2021.10-stm32mp1-r1$ ./build.sh
/bin/sh: 1: test: /home/uu/ATK-DLMP135/alientek_: unexpected operator
/bin/sh: 1: cannot create /home/uu/ATK-DLMP135/alientek_: Is a directory
make: *** [../Makefile.sdk:137:configure-stm32mp13_defconfig-trusted] 错误 2
请问这是什么问题,该怎么解决呢?
Makefile.sdk第135到第145行代码如下
# Set U-Boot configure rules # 第135行
$(foreach config, $(if $(UBOOT_CONFIG),$(UBOOT_CONFIG),$(UBOOT_CONFIGS)), \
$(foreach defconfig, $(if $(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG_$(config))), $(eval $(call configure-rules,$(defconfig),$(config)))))
# Set U-Boot make rules
$(foreach config, $(if $(UBOOT_CONFIG),$(UBOOT_CONFIG),$(UBOOT_CONFIGS)), \
$(foreach defconfig, $(if $(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG_$(config))), \
$(eval $(call uboot-rules,$(defconfig),$(config),$(if $(UBOOT_BINARY),$(UBOOT_BINARY),$(UBOOT_BINARY_$(defconfig)))))))
# Set U-Boot deploy rules
$(foreach config, $(if $(UBOOT_CONFIG),$(UBOOT_CONFIG),$(UBOOT_CONFIGS)), \
$(foreach defconfig, $(if $(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG),$(UBOOT_DEFCONFIG_$(config))), \
$(eval $(call deploy-rules,$(defconfig),$(config),$(if $(UBOOT_BINARY),$(UBOOT_BINARY),$(UBOOT_BINARY_$(defconfig)))))))