summaryrefslogtreecommitdiff
path: root/morph-arch-config
blob: ee6b769659edf6d6f6b047127688491282f55922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# morph-arch-config: ouput GCC-specific configuration for specific
# Morph architectures

# Morph's armv7* architecture is always armv7-a
case "$MORPH_ARCH" in
    armv7lhf) echo "--with-arch=armv7-a \
                    --with-cpu=cortex-a9 \
                    --with-tune=cortex-a9 \
                    --with-fpu=vfpv3-d16 \
                    --with-float=hard" ;;
    armv7*) echo "--with-arch=armv7-a" ;;
esac