[fireprime] u-boot compile error

Hi There

I’m a begginer of fireprime board.
While I try to compile u-boot, I had a trouble with below message.

CC arch/sandbox/cpu/os.o
arch/sandbox/cpu/os.c:6:20: fatal error: dirent.h: No such file or directory

Could tell me about solve this problem.
Now, I use Ubuntu 14.04 and Linux Kernel and Android compiles are success.

Thank you.

Did you try
cd u-boot
make rk3128_box_defconfig
make

To start clean do
make mrproper in u-boot directory

Dear mo123

It works properly.

Thank you!!