forked from luochongjun/gl-sdk-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b90f133
commit c6c46a1
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
#!/bin/sh | ||
echo SOURCECODEURL: "$SOURCECODEURL" | ||
echo PKGNAME: "$PKGNAME" | ||
|
||
WORKDIR="$(pwd)" | ||
|
||
apt update | ||
apt install git asciidoc bash bc binutils bzip2 fastjar flex gawk gcc genisoimage gettext git intltool jikespg libgtk2.0-dev libncurses5-dev libssl1.0-dev make mercurial patch perl-modules python2.7-dev rsync ruby sdcc subversion unzip util-linux wget xsltproc zlib1g-dev zlib1g-dev -y | ||
|
||
git clone "$SOURCECODEURL" buildsource | ||
git clone [email protected]:gl-inet-builder/openwrt-sdk-siflower-1806.git openwrt-sdk | ||
cd openwrt-sdk | ||
sed -i "1i\src-link local ${WORKDIR}/buildsource" feeds.conf.default | ||
./scripts/feeds update -a | ||
./scripts/feeds install -a | ||
echo CONFIG_ALL=y >.config | ||
make defconfig | ||
make V=s ./package/${PKGNAME}/compile |