diff --git a/package.inc b/package.inc index 89ef178..be8bdc9 100644 --- a/package.inc +++ b/package.inc @@ -31,10 +31,12 @@ This package contains images for the %{board_name}. %prep %setup -q -n %{src_dir} +export CROSS_COMPILE=aarch64-redhat-linux- %{make} distclean %{make} %{board_defconfig} %build +export CROSS_COMPILE=aarch64-redhat-linux- %if "%{?rkbin_git_commit}" != "" pushd .. cp %{_sourcedir}/%{?rkbin_git_commit}.tar.gz .