[CMAKE] Use consolidated registry.inf for generating SETUPREG.HIV

This way all registry data generated by add_registry_inf goes there.
SETUPREG.HIV increased by about 12KiB after that
This commit is contained in:
Victor Perevertkin 2020-11-20 17:16:08 +03:00
parent 6f0e37b042
commit edb425d89e
No known key found for this signature in database
GPG key ID: C750B7222E9C7830

View file

@ -765,8 +765,8 @@ function(create_registry_hives)
# BootCD setup system hive
add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/boot/bootdata/SETUPREG.HIV
COMMAND native-mkhive -h:SETUPREG -u -d:${CMAKE_BINARY_DIR}/boot/bootdata ${CMAKE_BINARY_DIR}/boot/bootdata/hivesys_utf16.inf ${CMAKE_SOURCE_DIR}/boot/bootdata/setupreg.inf
DEPENDS native-mkhive ${CMAKE_BINARY_DIR}/boot/bootdata/hivesys_utf16.inf)
COMMAND native-mkhive -h:SETUPREG -u -d:${CMAKE_BINARY_DIR}/boot/bootdata ${_registry_inf} ${CMAKE_SOURCE_DIR}/boot/bootdata/setupreg.inf
DEPENDS native-mkhive ${_registry_inf})
add_custom_target(bootcd_hives
DEPENDS ${CMAKE_BINARY_DIR}/boot/bootdata/SETUPREG.HIV)