This commit is contained in:
parent
f45b05fff7
commit
f61cae67f6
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -21,4 +21,4 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make clean
|
make ARCH=arm clean
|
||||||
|
|
Loading…
Reference in New Issue