summaryrefslogtreecommitdiff
path: root/doc/build-sdk-quick.txt
blob: d66f0d58b45aa6cd18f76ed3900098e34186d531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Basic build
	make config T=x86_64-default-linuxapp-gcc && make
Build commands
	config      get configuration from target template (T=)
	all         same as build (default rule)
	build       build in a configured directory
	clean       remove files but keep configuration
	install     build many targets (wildcard allowed)
	uninstall   remove all installed targets
Build variables
	CROSS            toolchain prefix
	EXTRA_CPPFLAGS   preprocessor options
	EXTRA_CFLAGS     compiler options
	EXTRA_LDFLAGS    linker options
	V   verbose
	D   debug dependencies
	O   output directory (default: build/ - install default: ./)
	T   target template (install default: *) - used with config or install
			format: <arch-machine-execenv-toolchain>
			templates in config/defconfig_*