mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 13:45:45 -05:00
generator.py: use constants.Arch type
This commit is contained in:
parent
61c150843e
commit
050f73c90c
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
from constants import GCC_HOSTSPECS, CFLAGS_GENERAL, CFLAGS_ARCHES, COMPILE_ARCHES
|
||||
from constants import Arch, GCC_HOSTSPECS, CFLAGS_GENERAL, CFLAGS_ARCHES, COMPILE_ARCHES
|
||||
from config import config
|
||||
|
||||
|
||||
def generate_makepkg_conf(arch: str, cross: bool = False, chroot: str = None) -> str:
|
||||
def generate_makepkg_conf(arch: Arch, cross: bool = False, chroot: str = None) -> str:
|
||||
"""
|
||||
Generate a makepkg.conf. For use with crosscompiling, specify `cross=True` and pass as `chroot`
|
||||
the relative path inside the native chroot where the foreign chroot will be mounted.
|
||||
|
|
Loading…
Add table
Reference in a new issue