build-bootenv

reproducible boot environment with LVM2 and cryptsetup
git clone https://ccx.te2000.cz/git/build-bootenv
Log | Files | Refs | Submodules

musl-cross-make.config.mak (3194B)


      1 #
      2 # config.mak.dist - sample musl-cross-make configuration
      3 #
      4 # Copy to config.mak and edit as desired.
      5 #
      6 
      7 # There is no default TARGET; you must select one here or on the make
      8 # command line. Some examples:
      9 
     10 # TARGET = i486-linux-musl
     11 TARGET = x86_64-linux-musl
     12 # TARGET = arm-linux-musleabi
     13 # TARGET = arm-linux-musleabihf
     14 # TARGET = sh2eb-linux-muslfdpic
     15 # ...
     16 
     17 # By default, cross compilers are installed to ./output under the top-level
     18 # musl-cross-make directory and can later be moved wherever you want them.
     19 # To install directly to a specific location, set it here. Multiple targets
     20 # can safely be installed in the same location. Some examples:
     21 
     22 # OUTPUT = /opt/cross
     23 # OUTPUT = /usr/local
     24 OUTPUT = "@@PWD@@/local"
     25 
     26 # By default, latest supported release versions of musl and the toolchain
     27 # components are used. You can override those here, but the version selected
     28 # must be supported (under hashes/ and patches/) to work. For musl, you
     29 # can use "git-refname" (e.g. git-master) instead of a release. Setting a
     30 # blank version for gmp, mpc, mpfr and isl will suppress download and
     31 # in-tree build of these libraries and instead depend on pre-installed
     32 # libraries when available (isl is optional and not set by default).
     33 # Setting a blank version for linux will suppress installation of kernel
     34 # headers, which are not needed unless compiling programs that use them.
     35 
     36 # BINUTILS_VER = 2.25.1
     37 BINUTILS_VER = 2.27
     38 # GCC_VER = 5.2.0
     39 # MUSL_VER = git-master
     40 # GMP_VER =
     41 # MPC_VER =
     42 # MPFR_VER =
     43 # ISL_VER =
     44 # LINUX_VER =
     45 
     46 # By default source archives are downloaded with wget. curl is also an option.
     47 
     48 # DL_CMD = wget -c -O
     49 # DL_CMD = curl -C - -L -o
     50 
     51 # Check sha-1 hashes of downloaded source archives. On gnu systems this is
     52 # usually done with sha1sum.
     53 
     54 # SHA1_CMD = sha1sum -c
     55 # SHA1_CMD = sha1 -c
     56 # SHA1_CMD = shasum -a 1 -c
     57 
     58 # Something like the following can be used to produce a static-linked
     59 # toolchain that's deployable to any system with matching arch, using
     60 # an existing musl-targeted cross compiler. This only works if the
     61 # system you build on can natively (or via binfmt_misc and qemu) run
     62 # binaries produced by the existing toolchain (in this example, i486).
     63 
     64 # COMMON_CONFIG += CC="i486-linux-musl-gcc -static --static" CXX="i486-linux-musl-g++ -static --static"
     65 
     66 # Recommended options for smaller build for deploying binaries:
     67 
     68 # COMMON_CONFIG += CFLAGS="-g0 -Os" CXXFLAGS="-g0 -Os" LDFLAGS="-s"
     69 
     70 # Options you can add for faster/simpler build at the expense of features:
     71 
     72 # COMMON_CONFIG += --disable-nls
     73 # GCC_CONFIG += --disable-libquadmath --disable-decimal-float
     74 # GCC_CONFIG += --disable-libitm
     75 # GCC_CONFIG += --disable-fixed-point
     76 # GCC_CONFIG += --disable-lto
     77 
     78 # By default C and C++ are the only languages enabled, and these are
     79 # the only ones tested and known to be supported. You can uncomment the
     80 # following and add other languages if you want to try getting them to
     81 # work too.
     82 
     83 # GCC_CONFIG += --enable-languages=c,c++
     84 
     85 # You can keep the local build path out of your toolchain binaries and
     86 # target libraries with the following, but then gdb needs to be told
     87 # where to look for source files.
     88 
     89 # COMMON_CONFIG += --with-debug-prefix-map=$(CURDIR)=