From ee8be367365456191a176f35b0ae2ae879ec1465 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 18 Oct 2014 14:16:54 +0000 Subject: [PATCH] [BMFD] * Use set_module_type() instead of the combination of set_entrypoint(), set_subsystem() and set_image_base(). * Remove the now redundant bugcodes dependency. [FRAMEBUF_NEW] * Remove redundant bugcodes dependency. svn path=/trunk/; revision=64806 --- .../win32ss/drivers/displays/framebuf_new/CMakeLists.txt | 2 +- reactos/win32ss/drivers/font/bmfd/CMakeLists.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/reactos/win32ss/drivers/displays/framebuf_new/CMakeLists.txt b/reactos/win32ss/drivers/displays/framebuf_new/CMakeLists.txt index 922a6a681ad..b3f4df03e65 100644 --- a/reactos/win32ss/drivers/displays/framebuf_new/CMakeLists.txt +++ b/reactos/win32ss/drivers/displays/framebuf_new/CMakeLists.txt @@ -18,4 +18,4 @@ set_module_type(framebuf_new kerneldll ENTRYPOINT DrvEnableDriver 12) target_link_libraries(framebuf_new libcntpr) add_importlibs(framebuf_new win32k) add_pch(framebuf_new driver.h SOURCE) -add_dependencies(framebuf_new psdk bugcodes) +add_dependencies(framebuf_new psdk) diff --git a/reactos/win32ss/drivers/font/bmfd/CMakeLists.txt b/reactos/win32ss/drivers/font/bmfd/CMakeLists.txt index ce00798c1ca..3a66bd8bef9 100644 --- a/reactos/win32ss/drivers/font/bmfd/CMakeLists.txt +++ b/reactos/win32ss/drivers/font/bmfd/CMakeLists.txt @@ -6,10 +6,8 @@ list(APPEND SOURCE bmfd.h) add_library(bmfd SHARED ${SOURCE}) -set_entrypoint(bmfd BmfdEnableDriver 12) -set_subsystem(bmfd native) -set_image_base(bmfd 0x00010000) +set_module_type(bmfd kerneldll ENTRYPOINT BmfdEnableDriver 12) target_link_libraries(bmfd libcntpr) add_importlibs(bmfd win32k) add_pch(bmfd bmfd.h SOURCE) -add_dependencies(bmfd psdk bugcodes) +add_dependencies(bmfd psdk)