질문과 답변
* Configure on a build directory (different of kernel source code directory) |
Here for example, build directory is located at the same level of kernel |
source code |
$> cd |
$> mkdir -p ../build |
$> make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config
명령을 실행하면 아래와 같이 Error가 발생하고, Build가 멈춰버립니다.
혹시 아시는 분 도움 부탁 드립니다.
kasuh@kasuh-HP-ProBook-4421s:~/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.94$ make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config
make[1]: Entering directory '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/build'
GEN ./Makefile
#
# configuration written to .config
#
GEN ./Makefile
/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.94/scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.
/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.94/Makefile:534: recipe for target 'fragment*.config' failed
make[2]: *** [fragment*.config] Error 2
/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.94/Makefile:286: recipe for target '__build_one_by_one' failed
make[1]: *** [__build_one_by_one] Error 2
make[1]: Leaving directory '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/linux-stm32mp-4.19-r0/build'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
로그인 후
참가 상태를 확인할 수 있습니다.