-
Notifications
You must be signed in to change notification settings - Fork 760
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Ryan Zezeski <rpz@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org>
- Loading branch information
Showing
49 changed files
with
1,982 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
# | ||
# Copyright 2016 Joyent, Inc. | ||
# | ||
|
||
# | ||
# This Makefile is shared between both libc and other consumers | ||
# | ||
|
||
COMMPAGE_OBJS = \ | ||
cp_subr.o \ | ||
cp_main.o | ||
|
||
COMMPAGE_OFFSETS_SRC = $(SRC)/lib/commpage/common/offsets.in | ||
COMMPAGE_OFFSETS_H = cp_offsets.h | ||
|
||
CLEANFILES += $(COMMPAGE_OFFSETS_H) | ||
|
||
pics/cp_main.o := CPPFLAGS += -I$(SRC)/uts/i86pc | ||
pics/cp_subr.o := ASFLAGS += -I$(SRC)/uts/i86pc -I./ | ||
$(COMMPAGE_OFFSETS_H) := CPPFLAGS += -I$(SRC)/uts/i86pc | ||
|
||
COMMPAGE_CPPFLAGS = -I$(SRC)/lib/commpage/common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
# | ||
# Copyright 2016 Joyent, Inc. | ||
# | ||
|
||
# | ||
# This Makefile is shared between both libc and other consumers | ||
# | ||
|
||
pics/%.o: $(SRC)/lib/commpage/common/%.c | ||
$(COMPILE.c) -o $@ $< | ||
$(POST_PROCESS_O) | ||
|
||
pics/%.o: $(SRC)/lib/commpage/$(TARGET_ARCH)/%.s $(COMMPAGE_OFFSETS_H) | ||
$(COMPILE.s) -o $@ $< | ||
$(POST_PROCESS_O) | ||
|
||
$(COMMPAGE_OFFSETS_H): $(COMMPAGE_OFFSETS_SRC) | ||
$(OFFSETS_CREATE) <$(COMMPAGE_OFFSETS_SRC) >$@ |
Oops, something went wrong.