mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
ixemul now from git
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -32,3 +32,6 @@
|
||||
[submodule "submodules/libnix"]
|
||||
path = submodules/libnix
|
||||
url = https://github.com/bebbo/libnix
|
||||
[submodule "submodules/ixemul"]
|
||||
path = submodules/ixemul
|
||||
url = https://github.com/bebbo/ixemul
|
||||
|
||||
1
submodules/ixemul
Submodule
1
submodules/ixemul
Submodule
Submodule submodules/ixemul added at 26cae7f01f
@ -29,8 +29,6 @@ URLS = \
|
||||
'990529/bin/libamiga-bin.tgz', 'libamiga.tar.gz'),
|
||||
('ftp://ftp.exotica.org.uk/mirrors/geekgadgets/amiga/m68k/snapshots/' +
|
||||
'990529/src/libm-5.4-src.tgz', 'libm-5.4.tar.gz'),
|
||||
('http://downloads.sf.net/project/amiga/ixemul.library/48.2/ixemul-src.lha',
|
||||
'ixemul-48.2.lha'),
|
||||
'http://sun.hasenbraten.de/vasm/release/vasm.tar.gz',
|
||||
'http://sun.hasenbraten.de/vlink/release/vlink.tar.gz',
|
||||
'http://www.ibaug.de/vbcc/vbcc.tar.gz',
|
||||
@ -256,6 +254,7 @@ def download():
|
||||
fetch(name, url)
|
||||
|
||||
def shallowCheckout(murl, mpath, mbranch):
|
||||
print "%s - %s - %s" % (murl, mpath, mbranch)
|
||||
if murl == None:
|
||||
return
|
||||
|
||||
@ -298,7 +297,8 @@ def update():
|
||||
elif x.startswith('branch'):
|
||||
mbranch = x.partition('=')[2].strip()
|
||||
|
||||
execute('git', 'submodule', 'update');
|
||||
shallowCheckout(murl, mpath, mbranch)
|
||||
execute('git', 'submodule', 'update')
|
||||
|
||||
def build():
|
||||
_build(True)
|
||||
@ -519,9 +519,7 @@ def _build(pull):
|
||||
make('{binutils}', 'install-ld')
|
||||
make('{binutils}', 'install-info')
|
||||
|
||||
unpack('{ixemul}', top_dir='ixemul')
|
||||
patch('{ixemul}')
|
||||
copytree('{sources}/{ixemul}/include/', '{prefix}/{target}/sys-include')
|
||||
copytree('{submodules}/{ixemul}/include/', '{prefix}/{target}/sys-include')
|
||||
|
||||
if fill_in('{gcc}') == 'gcc-3.4.6':
|
||||
with cwd('{archives}'):
|
||||
@ -542,7 +540,7 @@ def _build(pull):
|
||||
'--enable-languages=c,c++,objc' if fill_in('{gcc}') != 'gcc-3.4.6' else '--enable-languages=c,c++',
|
||||
'--enable-version-specific-runtime-libs',
|
||||
'--disable-libssp',
|
||||
'--with-headers={sources}/{ixemul}/include',
|
||||
'--with-headers={submodules}/{ixemul}/include',
|
||||
from_dir='{submodules}/{gcc}' if fill_in('{gcc}') != 'gcc-3.4.6' else '{sources}/{gcc}')
|
||||
touch_genfiles('{submodules}/{gcc}' if fill_in('{gcc}') != 'gcc-3.4.6' else '{sources}/{gcc}')
|
||||
make('{gcc}', 'all-gcc',
|
||||
@ -869,7 +867,7 @@ if __name__ == "__main__":
|
||||
autoconf='autoconf-2.13',
|
||||
texinfo='texinfo-4.12',
|
||||
NDK='NDK_3.9',
|
||||
ixemul='ixemul-48.2',
|
||||
ixemul='ixemul',
|
||||
clib2='clib2',
|
||||
libm='libm-5.4',
|
||||
libnix='libnix',
|
||||
|
||||
Reference in New Issue
Block a user