Gajjar Hardik
Gajjar Hardik

Reputation: 41

Error in linux cross compilation u-boot

When i am cross compile u-boot code in ubuntu and gives command as follow

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

error is:

System not configured -see readme Error[1]

What is solution for this?

thank you.
hardik gajjar

Upvotes: 1

Views: 2731

Answers (2)

Cyril Fougeray
Cyril Fougeray

Reputation: 131

To compile U-Boot, the easiest way is to export the CROSS_COMPILE variable :

 $ export CROSS_COMPILE=/directory/.../arm-none-linux-gnueabi-

And then you have to choose the board configuration, for example :

$ make lpc4350-board_config

Then you can compile :

$ make

Upvotes: 1

TheCodeArtist
TheCodeArtist

Reputation: 22487

The distclean target is used to undo/clear any changes made to the local working directory by selecting any board/device-specific config.

The error System not configured -see readme Error[1] indicates that the current u-boot working-directory is NOT yet configured for any device/board and hence the distclean target to make is redundant at this point.

Upvotes: 0

Related Questions