system_test: recipe: Rearrange the recipe lines

Signed-off-by: Dan Murphy <dmurphy@ti.com>
1 file changed
tree: d27af28317af9beb858651e2bd992c39429e28dd
  1. arch/
  2. config/
  3. system_test/
  4. .gitignore
  5. Makefile
  6. README.md
README.md

Upstream DT Overlays and TI kernel config fragments

This is a repository for DT overlays and TI kernel config fragments.

DT Overlays

The makefile does two things:

  • Compiles a specified set of dts files with symbols enabled, taken from the kernel source tree
  • Compiles DT overlays in this repository

Linux directory can be given with LINUX=dir. If LINUX is undefined, Makefile will look for Linux directory from the current dir or <projectdir>/../linux/

dtc compiler will be taken from $LINUX/scripts/dtc/dtc but can be overridden with DTC variable.

Output path can be given the same way as when building the kernel, with O=dir

ARCH variable can be used to build a single arch instead of all, e.g. ARCH=arm64

Config fragments

config directory contains defconfig_builder.sh. The Linux directory can be given with -k option. If Linux directory is not given, the script will look for Linux directory from the current dir or <projectdir>/../linux/

Example developer workflow

Linux sources in ~/work/linux and this project in ~/work/linux-dt

$ cd ~/work/linux
$ ../linux-dt/config/defconfig_builder.sh
(select a defconfig)
$ make ti_sdk_dra7x_debug_defconfig
$ make
$ make -C ../linux-dt

The symbol-enabled dtbs and dtbos are now under ~/work/linux-dt/arch/...