summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/Makefile.rules')
-rw-r--r--usr/src/uts/common/Makefile.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/uts/common/Makefile.rules b/usr/src/uts/common/Makefile.rules
index 8a906a2e25..bb80ca63c4 100644
--- a/usr/src/uts/common/Makefile.rules
+++ b/usr/src/uts/common/Makefile.rules
@@ -26,6 +26,7 @@
# Copyright 2020 Joyent, Inc.
# Copyright 2018 Nexenta Systems, Inc.
# Copyright (c) 2017 by Delphix. All rights reserved.
+# Copyright 2020 Oxide Computer Company
#
#
@@ -1563,6 +1564,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(OBJS_DIR)/%.o: $(COMMONBASE)/bootbanner/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(COMMONBASE)/list/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
@@ -1591,6 +1596,13 @@ $(OBJS_DIR)/%.o: $(COMMONBASE)/refhash/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(OBJS_DIR)/bootbanner.o := CPPFLAGS += \
+ -DBOOTBANNER1='"$(BOOTBANNER1)"' \
+ -DBOOTBANNER2='"$(BOOTBANNER2)"' \
+ -DBOOTBANNER3='"$(BOOTBANNER3)"' \
+ -DBOOTBANNER4='"$(BOOTBANNER4)"' \
+ -DBOOTBANNER5='"$(BOOTBANNER5)"'
+
$(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)