hi everyone:
i'm working on beaglebone black platform, using ti-processor-sdk-linux-am335x-evm-02.00.02.11-Linux-x86-Install.bin in ubuntu 14 64bit.
i want to make a new board base on board am335x, so i follow these steps below:
1st. i copy /board/ti/am335, and rename this file to "example", modify the mux.c according to files generated by pinmux v4; modify Kconfig, MAINTAINERS, u-boot,lds.
2nd. copy /configs/am335x_boneblack_defconfig to /configs/am335x_example_defconfig, and modify its CONFIG_TARGET.
3rd. copy /include/configs/am335x_evm.h to /include/configs/am335x_example.h and change macro: CONFIG_SYS_LDSCRIPT
4th. modify /u-boot-2015.07+gitAUTOINC+d49aa5effa\arch\arm\Kconfig, add support to my board, also copy from am335x_evm
then i use command "make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_example am335x_example_defconfig all" to compile u-boot, but there is an error.
GEN ./Makefile
#
# configuration written to .config
#
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
Using .. as source for U-Boot
.. is not clean, please run 'make mrproper'
in the '..' directory.
../Makefile:1173: recipe for target 'prepare3' failed
make[2]: *** [prepare3] Error 1
/home/xxxx/ti-sdk/board-support/u-boot-2015.07+gitAUTOINC+46c915c963/Makefile:455: recipe for target '__build_one_by_one' failed
make[1]: *** [__build_one_by_one] Error 2
make[1]: Leaving directory '/home/xxxx/ti-sdk/board-support/u-boot-2015.07+gitAUTOINC+46c915c963/am335x_example'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
could someone can help me, i have no idear about this error...thanks a lot