for nand_spl compile