diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-12-03 21:24:01 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-12-03 21:24:01 +0100 |
commit | bc9c527fcf64f6ac8fc45567b5cb79666ce5146b (patch) | |
tree | 214cf84864ed4fa66afb4c9be23acb22b1626b11 /config/linux.config | |
parent | 5163e9e5a3c0301c9982d67bd5d6cf7282ed104b (diff) |
config: set defaults for prefix sources and cache in the config
Diffstat (limited to 'config/linux.config')
-rw-r--r-- | config/linux.config | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/config/linux.config b/config/linux.config index 25d3f49..2a808ce 100644 --- a/config/linux.config +++ b/config/linux.config @@ -6,15 +6,6 @@ import os from cerbero.config import Architecture -if target_arch == Architecture.X86_64: - prefix=prefix or os.path.expanduser('~/cerbero/dist/linux_x86_64') - sources=sources or os.path.expanduser('~/cerbero/sources/linux_x86_64') - cache_file= cache_file or 'linux_x86_64' -elif target_arch == Architecture.X86: - prefix=prefix or os.path.expanduser('~/cerbero/dist/linux_i686') - sources=sources or os.path.expanduser('~/cerbero/sources/linux_i686') - cache_file=cache_file or 'linux_i686' - for f in ['CFLAGS', 'CCASFLAGS', 'CXXFLAGS', 'LDFLAGS', 'OBJCFLAGS']: os.environ[f] = os.environ.get(f, '') |