Skip to content

Commit

Permalink
fixed some path issues
Browse files Browse the repository at this point in the history
Signed-off-by: John Sanpe <[email protected]>
  • Loading branch information
sanpeqf committed Oct 11, 2023
1 parent 37362a0 commit e13630c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ function build_lk2nd()
{
cd lk2nd
make TOOLCHAIN_PREFIX=arm-none-eabi- lk1st-msm8916 -j$[$(nproc) * 2]
cp -p build-lk1st-msm8916/emmc_appsboot.mbn ../$lk2ndimg
cd -
cp -p lk2nd/build-lk1st-msm8916/emmc_appsboot.mbn $lk2ndimg
}

function build_linux()
{
cd linux
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- msm8916_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$[$(nproc) * 2]
make INSTALL_MOD_PATH=$rootfs modules_install
make INSTALL_MOD_PATH=../$rootfs modules_install
cd -
}

Expand Down Expand Up @@ -111,12 +111,12 @@ set -ev
mkdir -p build
prepare_livecd
prepare_rootfs
config_rootfs

build_lk2nd
build_linux
make_boot
make_image

config_rootfs
pack_rootfs
generate_checksum

0 comments on commit e13630c

Please sign in to comment.