Turning off CocosDenshion, Chipmunk and Box2D

I don’t need CocosDenshion, Chipmunk or Box2D. How do I turn these extensions off and still be able to compile/build?
I am building within the Marmalade SDK.
Thanks.

The principle is same as other platforms.Just remove the line which contains those libraries’ s name from the file “xxx.mkb”
By the way,don’t forget to deal with Extensions/physics_node/CCPhysicsSprite.cpp.