/alps/kmm

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/kmm

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2015-12-02 18:04:32 UTC
  • Revision ID: csa@suren.me-20151202180432-zncbmow4il6th2yy
Provide relaxed mode of gcc check

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
                echo "No compiler of $$GCC_MAJOR series is installed" ;\
20
20
                exit 1 ;\
21
21
            fi ;\
22
 
            GCC_VERSION=`$$CC --version | head -n 1 | tr ' ' '\n' | grep -e "[0-9]\+\.[0-9]" | head -n 1` ;\
23
 
            if [ $$KERNEL_GCC_VERSION != $$GCC_VERSION ]; then \
 
22
            GCC_VERSION=`$$CC --version | head -n 1 | tr ' ' '\n' | grep -e "[0-9]\+\.[0-9]" | tail -n 1` ;\
 
23
            if [ $$KERNEL_GCC_VERSION != $$GCC_VERSION -a -z "$$RELAXED_GCC_CHECK" ]; then \
24
24
                echo "The $$GCC_VERSION of $$GCC_MAJOR series is installed" ;\
25
25
                exit 1 ;\
26
26
            fi ;\