You may infer by the various comments such as "define this if the hardware can be powered off while charging" that it's a standard header that is then copied into a customized copy for each hardware. In fact, note it says "if the hardware can be" rather than "if you want to enable the feature."
Rockbox does run on a lot of other hardware, and the iPod certainly was far from the first.