Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:

- name: Install dependencies
run: |
apk add build-base ncurses-dev
apk add bash build-base git ncurses-dev

- name: Compile orbislib
run: |
make clean all install
bash ./build.sh
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM $BASE_DOCKER_IMAGE

COPY . /src

RUN apk add build-base ncurses-dev
RUN cd /src && make clean all install
RUN apk add bash build-base git ncurses-dev
RUN cd /src && ./build.sh

# Second stage of Dockerfile
FROM alpine:latest
Expand Down
43 changes: 0 additions & 43 deletions Makefile

This file was deleted.

27 changes: 27 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash -x
SUBDIRS="orbisdev-utils orbisdev-libkernelUtil orbisdev-libdebugnet orbisdev-libz orbisdev-liborbisPad orbisdev-liborbisAudio orbisdev-liborbisNfs orbisdev-liborbisKeyboard orbisdev-libmod orbisdev-libSQLite orbisdev-liborbisLink"
PROC_NR=$(getconf _NPROCESSORS_ONLN)


## Fetch the main headers
git clone https://github.com/orbisdev/orbisdev-headers --depth=1
cp -a orbisdev-headers/include/* $ORBISDEV/usr/include/

## Download the source code.
for dir in $SUBDIRS
do
echo $dir
if test ! -d "$dir/.git"; then
git clone https://github.com/orbisdev/$dir && cd $dir || exit 1
else
cd $dir &&
git pull && git fetch origin &&
git reset --hard origin/master || exit 1
fi
make --quiet -j $PROC_NR clean || { exit 1; }
make --quiet -j $PROC_NR || { exit 1; }
make --quiet -j $PROC_NR install || { exit 1; }
make --quiet -j $PROC_NR clean || { exit 1; }
cd ..
done

156 changes: 0 additions & 156 deletions include/config.h

This file was deleted.

Loading