Changeset 3c7702c0 in mainline for Makefile


Ignore:
Timestamp:
2018-01-04T20:13:42Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cde999a
Parents:
0d0b319
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:13:42)
Message:

Add make check_errno, which checks whether there are instances of
"compatibility only" error codes in HelenOS code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r0d0b319 r3c7702c0  
    9393endif
    9494
     95# `sed` pulls a list of "compatibility-only" error codes from `errno.in`,
     96# the following grep finds instances of those error codes in HelenOS code.
     97check_errno:
     98        @ ! cat abi/include/abi/errno.in | \
     99        sed -n -e '1,/COMPAT_START/d' -e 's/__errno_entry(\([A-Z0-9]\+\).*/\\b\1\\b/p' | \
     100        git grep -n -f - -- ':(exclude)abi' ':(exclude)uspace/lib/posix'
     101
    95102# Autotool (detects compiler features)
    96103
Note: See TracChangeset for help on using the changeset viewer.