diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-08-16 23:18:14 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-01 20:34:49 +0900 |
commit | b6223c2de6b0cade1e1d37490b304cb5df8d45d9 (patch) | |
tree | 5e9aa2146ce43f5668d06d94316e832b18d801b7 /scripts/module-common.c | |
parent | e6b65ee10588a552d04d488ebeac24bba20747a8 (diff) |
kbuild: pacman-pkg: move common commands to a separate function
All build and package functions share the following commands:
export MAKEFLAGS="${KBUILD_MAKEFLAGS}"
cd "${objtree}"
Factor out the common code.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Christian Heusel <christian@heusel.eu>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions