diff options
| author | Michael Brown | 2020-10-16 15:34:14 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-10-16 16:16:00 +0200 |
| commit | 49fd66a8c9d94b7d66656ea5d844278109ee2eef (patch) | |
| tree | b557d6d766be73af0dac8e90ee973ab34d5c4f6b | |
| parent | [ipv6] Reduce time spent waiting for router discovery (diff) | |
| download | ipxe-49fd66a8c9d94b7d66656ea5d844278109ee2eef.tar.gz ipxe-49fd66a8c9d94b7d66656ea5d844278109ee2eef.tar.xz ipxe-49fd66a8c9d94b7d66656ea5d844278109ee2eef.zip | |
[build] Provide a testable platform macro alongside -DPLATFORM
Signed-off-by: Michael Brown <mcb30@ipxe.org>
| -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) |
