This commit is contained in:
chenyf 2024-02-18 15:43:59 +08:00
parent f45b05fff7
commit f61cae67f6
3 changed files with 5 additions and 5 deletions

View File

@ -358,8 +358,8 @@ include scripts/subarch.include
# Default value for CROSS_COMPILE is not to prefix executables # Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
#ARCH ?= $(SUBARCH) #ARCH ?= $(SUBARCH)
ARCH ?= arm # ARCH ?= arm
CROSS_COMPILE = arm-none-linux-gnueabihf- # CROSS_COMPILE = arm-none-linux-gnueabihf-
# Architecture as present in compile.h # Architecture as present in compile.h
UTS_MACHINE := $(ARCH) UTS_MACHINE := $(ARCH)
SRCARCH := $(ARCH) SRCARCH := $(ARCH)

View File

@ -21,5 +21,5 @@ else
exit 1 exit 1
fi fi
make stm32mp1_cyf_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=build stm32mp1_cyf_defconfig
make uImage dtbs LOADADDR=0xc2000040 -j12 make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=build uImage dtbs LOADADDR=0xc2000040 -j12

View File

@ -21,4 +21,4 @@ else
exit 1 exit 1
fi fi
make clean make ARCH=arm clean