Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
make CONFIG_DIR=../library/ubinos/app CONFIG_NAME=helloworld_mt_nrf52840dk all


If the make variables "CONFIG_DIR" and "CONFIG_NAME" are not specified, values in the file "Make" are used.  target "all" performs make target "config" and "build" sequentially.
The make target "all" performs make target "config" and "build" sequentially.
The make target "config" configures the project with the configuration specified by the variable "CONFIG_NAME" in the file "Makefile".
The default value of the variable "CONFIG_NAME" is "helloworld_mt_nrf52dk", which is a configuration that creates an executable binary file containing the application "helloworld_mt" running on the target board "nRF52 DK".
The make target "build" builds the project. If the build is completed normally, the result is created in the output directory "output/<config name>".
A list of available configuration names can be found in the file "batch.mk"app" directory in the project or in the library.

메이크 변수 "CONFIG_DIR"과 "CONFIG_NAME"을 지정하지 않으면 파일 "Makefile"에서 지정하는 값이 사용된다. 
메이크 타겟 "all"은 메이크 타겟 "config"와 "build"를 순차적으로 실행한다.
메이크 타겟 "config"는 메이크 변수 "CONFIG_NAME"이 지정하는 구성으로 프로젝트를 구성한다.
메이크 타겟 "build"는 프로젝트를 빌드한다. 빌드가 정상적으로 완료되면 결과물 디렉토리 "output/<config name>"에 결과물이 생성된다.
선택 가능한 구성 목록은 프로젝트의 "app" 디렉토리 또는 라이브러리의 "app" 디렉토리에서 확인할 수 있다.

You can also specify the configuration name in the CLI as follows.

다음과 같이 CLI에서 구성 이름을 지정할 수도 있다.

Code Block
languagetext
make all CONFIG_NAME=<config name>


The make variables "CONFIG_DIR" and "LIBRARY_DIR" can also be specified in the file "Makefile" or CLI. These variables can contain only English characters. It can not contain spaces. 

메이크 변수 "CONFIG_DIR"과 "LIBRARY_DIR" 도 파일 "Makefile" 또는 CLI에서  지정할 수 있다. 이 변수는 영문자만 포함할 수 있다. 공백은 포함할 수 없다.

...