Skip to content

Commit

Permalink
inital change to arc
Browse files Browse the repository at this point in the history
  • Loading branch information
coolkingcole committed Nov 8, 2023
1 parent 16694b8 commit c7d52ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Compile and publish kernels
on:
push:
branches:
- fd4.10
- ARC-Migration

jobs:
build:
runs-on: ubuntu-latest
runs-on: panda-arc

steps:
- name: Checkout code
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Build
run: |
bash docker_build.sh
tar -czvf kernels-latest.tar.gz binaries
time tar -czvf kernels-latest.tar.gz binaries
- name: Save package
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions docker_inner_build_targets.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $NPROC=$(nproc).strip()
cd $BUILD_ROOT

for arch in TARGETLIST:
make mrproper
make mrproper -j$NPROC
TARGETS=["vmlinux"]
if "arm" in arch:
TARGETS.append("zImage")
Expand All @@ -59,7 +59,7 @@ for arch in TARGETLIST:
$CROSS_CC=get_cc(arch)
mkdir -p f"build/{arch}"
cp f"config.{arch}" f"build/{arch}/.config"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) olddefconfig -j$NPROC

echo "Building kernel"
make ARCH=@(short_arch) CROSS_COMPILE=$CROSS_CC O=build/@(arch) @(TARGETS) -j$NPROC
Expand Down

0 comments on commit c7d52ac

Please sign in to comment.