From 0598f52fc000f7bf78c7e4164be1342601bdff71 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 3 Aug 2022 10:50:49 +0200 Subject: Meta: Remove an outdated `MAKE_DIRECTORY` call for pnp IDs We are downloading these directly into the build directory now, and generating the source code from there, so we no longer need the manually created directory. While we are at it, remove two variables that seem to be no longer in use, and at least one of which is confusing regarding a missing prefix. --- Meta/CMake/pnp_ids.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/Meta/CMake/pnp_ids.cmake b/Meta/CMake/pnp_ids.cmake index 88fa756aee..7192d20c46 100644 --- a/Meta/CMake/pnp_ids.cmake +++ b/Meta/CMake/pnp_ids.cmake @@ -1,12 +1,9 @@ include(${CMAKE_CURRENT_LIST_DIR}/utils.cmake) -set(PNP_IDS_FILE pnp.ids) set(PNP_IDS_URL http://www.uefi.org/uefi-pnp-export) set(PNP_IDS_EXPORT_PATH ${CMAKE_BINARY_DIR}/pnp_ids.html) -set(PNP_IDS_INSTALL_PATH ${CMAKE_INSTALL_DATAROOTDIR}/${PNP_IDS_FILE}) if (ENABLE_PNP_IDS_DOWNLOAD) - file(MAKE_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR}) download_file("${PNP_IDS_URL}" "${PNP_IDS_EXPORT_PATH}") set(PNP_IDS_HEADER PnpIDs.h) -- cgit v1.2.3