Share via


DDK_BLOCK_ON_AMD64

Use the DDK_BLOCK_ON_AMD64 setting in your Makefile file to prevent the Build utility from building when the current target is the specified architecture. For example, if you have a driver or sample code that you want to build for IA64 and x86 but not for AMD64 architecture, you only need to define DDK_BLOCK_ON_AMD64 in the Makefile file in your source directory. The setting must be defined before the !Include command that includes the Makefile.def file.

DDK_BLOCK_ON_AMD64=1
!INCLUDE $(NTMAKEENV)\Makefile.def

When DDK_BLOCK_ON_AMD64 is defined, the Build utility issues a warning instead of trying to build for the AMD64 architecture. The same warning is issued when using the MINIMUM_NT_TARGET_VERSION or MAXIMUM_NT_TARGET_VERSION settings.

See Also

DDK_BLOCK_ON_IA64

DDK_BLOCK_ON_X86

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011