From f61cae67f662795d700b1b6ef881f0d411a34d5f Mon Sep 17 00:00:00 2001 From: chenyf <1343619937@qq.com> Date: Sun, 18 Feb 2024 15:43:59 +0800 Subject: [PATCH] 1 --- linux-5.4.31/Makefile | 4 ++-- linux-5.4.31/build.sh | 4 ++-- linux-5.4.31/clean.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux-5.4.31/Makefile b/linux-5.4.31/Makefile index 2d1a65128..fa1f24646 100644 --- a/linux-5.4.31/Makefile +++ b/linux-5.4.31/Makefile @@ -358,8 +358,8 @@ include scripts/subarch.include # Default value for CROSS_COMPILE is not to prefix executables # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile #ARCH ?= $(SUBARCH) -ARCH ?= arm -CROSS_COMPILE = arm-none-linux-gnueabihf- +# ARCH ?= arm +# CROSS_COMPILE = arm-none-linux-gnueabihf- # Architecture as present in compile.h UTS_MACHINE := $(ARCH) SRCARCH := $(ARCH) diff --git a/linux-5.4.31/build.sh b/linux-5.4.31/build.sh index 548e85259..13ea6f1a3 100755 --- a/linux-5.4.31/build.sh +++ b/linux-5.4.31/build.sh @@ -21,5 +21,5 @@ else exit 1 fi -make stm32mp1_cyf_defconfig -make uImage dtbs LOADADDR=0xc2000040 -j12 +make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=build stm32mp1_cyf_defconfig +make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=build uImage dtbs LOADADDR=0xc2000040 -j12 diff --git a/linux-5.4.31/clean.sh b/linux-5.4.31/clean.sh index 1d2a6020f..fdf8f3e15 100755 --- a/linux-5.4.31/clean.sh +++ b/linux-5.4.31/clean.sh @@ -21,4 +21,4 @@ else exit 1 fi -make clean +make ARCH=arm clean