• Ian Campbell's avatar
    fel-to-spl-thunk.S: Only depend on binutils. · 4079221f
    Ian Campbell authored
    
    
    A cross-binutils is generally a bit easier to get hold of, and in particular
    binutils-none-eabi (and binutils-arm-linux-gnueabi{,hf}) are available in
    Debian Jessie while the equivalent cross gcc is not.
    
    The only reason gcc/cpp are required are to strip the embedded Ruby code out
    before handing to the assembler, we can achieve the same by opening a multiline
    comment around the ruby instead. Care needs to be taken not to close the
    comment prematurely hence "*/" is written in the one place it is used as
    "\x2a/" (i.e. encoding the * in hex). Having done this we can pass the .S file
    directly to the cross-as.
    
    There is no change to the resulting header file.
    Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
    Acked-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
    4079221f
fel-to-spl-thunk.S 4.58 KB