• Dan Nicholson's avatar
    confdiff.sh: A testing script for comparing configs settings · d7eb97bb
    Dan Nicholson authored
    This is a simple script that compares the make variables set by two
    different configs stubs. The purpose is to highlight differences so
    that any unnecessary duplication or divergence can be removed.
    
    For example, on Linux x86:
        $ ./bin/confdiff.sh linux linux-x86
    
    The output isn't very clean, but it should highlight that the only
    difference is that the x86 target uses x86 assembler sources.
    
    The script uses bash, mktemp, make, sed and diff. It is probably not
    very portable and might only work on GNU make.
    d7eb97bb
confdiff.sh 799 Bytes