]> www.infradead.org Git - users/willy/xarray.git/commit
kbuild: pacman-pkg: move common commands to a separate function
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 16 Aug 2024 14:18:14 +0000 (23:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 Sep 2024 11:34:49 +0000 (20:34 +0900)
commitb6223c2de6b0cade1e1d37490b304cb5df8d45d9
tree5e9aa2146ce43f5668d06d94316e832b18d801b7
parente6b65ee10588a552d04d488ebeac24bba20747a8
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>
scripts/package/PKGBUILD