update
This commit is contained in:
parent
64bbb51f01
commit
c398071be4
4 changed files with 57 additions and 1 deletions
55
CrossMakefile
Normal file
55
CrossMakefile
Normal file
|
@ -0,0 +1,55 @@
|
|||
PREFIX=$(HOME)/opt
|
||||
CROSS_PREFIX=$(shell pwd)
|
||||
export PATH := $(CROSS_PREFIX)/bin/:$(PREFIX)/bin/:$(PATH)
|
||||
all: sources
|
||||
|
||||
sources: autoconf-2.64.tar.xz automake-1.11.1.tar.bz2 gcc-6.1.0.tar.bz2 binutils-2.26.tar.bz2 mpc-1.0.3.tar.gz mpfr-3.1.3.tar.xz gmp-6.1.0.tar.xz isl-0.16.tar.xz cloog-0.18.4.tar.gz gawk-4.1.3.tar.xz
|
||||
mkdir sources; \
|
||||
cd sources; \
|
||||
tar -xf ../autoconf-2.64.tar.xz; \
|
||||
tar -xf ../automake-1.11.1.tar.bz2; \
|
||||
tar -xf ../gawk-4.1.3.tar.xz; \
|
||||
tar -xf ../binutils-2.26.tar.bz2; \
|
||||
tar -xf ../gcc-6.1.0.tar.bz2; \
|
||||
cd gcc-6.1.0; \
|
||||
tar -xf ../../mpc-1.0.3.tar.gz; \
|
||||
mv mpc-1.0.3 mpc; \
|
||||
tar -xf ../../mpfr-3.1.3.tar.xz; \
|
||||
mv mpfr-3.1.3 mpfr; \
|
||||
tar -xf ../../gmp-6.1.0.tar.xz; \
|
||||
mv gmp-6.1.0 gmp; \
|
||||
tar -xf ../../isl-0.16.tar.xz; \
|
||||
mv isl-0.16 isl; \
|
||||
tar -xf ../../cloog-0.18.4.tar.gz; \
|
||||
mv cloog-0.18.4 cloog
|
||||
autoconf-2.64.tar.xz:
|
||||
wget -q http://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.xz
|
||||
|
||||
automake-1.11.1.tar.bz2:
|
||||
wget -q http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.bz2
|
||||
|
||||
gcc-6.1.0.tar.bz2:
|
||||
wget -q ftp://ftp.gnu.org/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2
|
||||
|
||||
binutils-2.26.tar.bz2:
|
||||
wget -q ftp://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2
|
||||
|
||||
mpc-1.0.3.tar.gz:
|
||||
wget -q ftp://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
|
||||
|
||||
mpfr-3.1.3.tar.xz:
|
||||
wget -q ftp://ftp.gnu.org/gnu/mpfr/mpfr-3.1.3.tar.xz
|
||||
|
||||
gmp-6.1.0.tar.xz:
|
||||
wget -q ftp://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.xz
|
||||
|
||||
isl-0.16.tar.xz:
|
||||
wget -q http://isl.gforge.inria.fr/isl-0.16.tar.xz
|
||||
|
||||
cloog-0.18.4.tar.gz:
|
||||
wget -q http://www.bastoul.net/cloog/pages/download/cloog-0.18.4.tar.gz
|
||||
|
||||
gawk-4.1.3.tar.xz:
|
||||
wget -q http://ftp.gnu.org/gnu/gawk/gawk-4.1.3.tar.xz
|
||||
|
||||
.PHONY: all cross
|
BIN
firmlink
Executable file
BIN
firmlink
Executable file
Binary file not shown.
|
@ -12,7 +12,7 @@ struct FIRM_sect {
|
|||
uint32_t offset;
|
||||
uint32_t physical;
|
||||
uint32_t size;
|
||||
bool arm11;
|
||||
uint32_t arm11;
|
||||
uint8_t SHA256[0x20]; //Implement later.
|
||||
}__attribute__((packed));
|
||||
struct FIRM_header {
|
||||
|
|
1
install_manifest.txt
Normal file
1
install_manifest.txt
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/local/bin/firmlink
|
Loading…
Reference in a new issue