mirror of
https://github.com/HyperDbg/HyperDbg
synced 2026-08-15 06:29:09 -04:00
Renamed asm-vmx-checks-gas-unix file
Renames .s to .S, this was needed because the fiel is otherwise deleted by make clean
This commit is contained in:
parent
c8a209d84b
commit
5d3f694942
2 changed files with 8 additions and 2 deletions
|
|
@ -234,10 +234,16 @@ if(UNIX)
|
|||
#
|
||||
# The MASM (.asm) implementation only builds with the Microsoft assembler,
|
||||
# so swap it for the GAS (AT&T syntax) port and enable the ASM language so
|
||||
# CMake assembles the .s file with the system assembler.
|
||||
# CMake assembles the .S file with the system assembler.
|
||||
#
|
||||
# NOTE: the extension MUST be uppercase .S — the kernel-module build runs
|
||||
# with M= at the repo root, and kbuild's `make clean` deletes every lowercase
|
||||
# .s (it treats them as generated assembler intermediates), which would wipe
|
||||
# this hand-written source. Uppercase .S is a recognized source extension and
|
||||
# is left untouched. See linux/PORTING_STATUS.md.
|
||||
#
|
||||
list(REMOVE_ITEM SourceFiles "code/assembly/asm-vmx-checks-masm-windows.asm")
|
||||
list(APPEND SourceFiles "code/assembly/asm-vmx-checks-gas-unix.s")
|
||||
list(APPEND SourceFiles "code/assembly/asm-vmx-checks-gas-unix.S")
|
||||
enable_language(ASM)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue