질문과 답변

error 해결은 어떻게 해야 되는지 도움 부탁 드립니다. : Configure kernel source code:
2020. 4. 12 (일) 13:24 쌀쌀이 조회 115 좋아요 1 스크랩 0 댓글 6
* 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

 

bryan 2020.04.13 09:10 답글  | 
링크의 3번 부터 진행하시면 되겠습니다.
bryan 2020.04.13 09:10
댓글
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel
쌀쌀이 2020.04.13 11:54
댓글
감사합니다. 덕분에 잘 완료하였습니다.
김용* 2020.04.13 01:19 답글  | 
저도 같은에러인데 혹시 해결되셨나요? ㅠ
쌀쌀이 2020.04.13 08:37
댓글
아직 해결이 안되었습니다. 해결되면 답글 달게요
쌀쌀이 2020.04.13 11:53
댓글
ultrak** 님이 올려주신 링크를 따라 하면 잘 됩니다.

로그인 후
참가 상태를 확인할 수 있습니다.