How to build opencv on ARM cortex A8 with NEON option Enable on Ubuntu ?

Hello All,
I am using Opencv 2.3.1 on Beagle Board xM. I have ubuntu 11.04 running on beagle board xM. I want to increase fps. I read about Enable Neon Option to achieve this. I got all material for Android. Is Anybody already enabled Neon for Arm cortex A8 running ubuntu on it ? Can some body give me step wise procedure to achieve that ? If I am using gcc compiler, what do I need to type command prompt to run opencv code with Neon ?