Add modified lib hardware/legacy