diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-10-16 14:34:14 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-10-16 15:16:00 +0100 |
commit | 49fd66a8c9d94b7d66656ea5d844278109ee2eef (patch) | |
tree | b557d6d766be73af0dac8e90ee973ab34d5c4f6b /src/Makefile.housekeeping | |
parent | 6ccd5239b13ca92800ea81c2d6489e0ad8e9d5e6 (diff) | |
download | ipxe-49fd66a8c9d94b7d66656ea5d844278109ee2eef.tar.gz |
[build] Provide a testable platform macro alongside -DPLATFORM
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 134becd50..cac6efcfd 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -342,7 +342,7 @@ arch : # Determine build platform DEFAULT_PLATFORM := pcbios PLATFORM := $(firstword $(BIN_PLATFORM) $(DEFAULT_PLATFORM)) -CFLAGS += -DPLATFORM=$(PLATFORM) +CFLAGS += -DPLATFORM=$(PLATFORM) -DPLATFORM_$(PLATFORM) platform : @$(ECHO) $(PLATFORM) |