Installing CUDA on custom Linux

I have created a custom Linux filesystem for the TX1 (with NVidia supplied kernel). What do I have to install to make CUDA programs run? I installed the libraries from nvidia_drivers.tbz2, but a CUDA executable I try to run (vectorAdd) just gets stuck without any message.
I’m not interested in graphics, audio, camera etc., only CUDA.

Thanks,
Avishay