add libhardawre_legacy