Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion psw/ae/pve/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ all: $(SONAME)
.PHONY: EPID
EPID:
cd $(EPID_SDK_DIR) && CFLAGS="$(EPID_CFLAGS)" CXXFLAGS="$(EPID_CXXFLAGS)" ./configure prefix=/usr/local
$(MAKE) -C $(EPID_SDK_DIR) 2> /dev/null
$(MAKE) -C $(EPID_SDK_DIR)

$(SONAME): $(OBJS) EPID
$(CXX) $(CXXFLAGS) -o $@ $(OBJS) -nostdlib -nodefaultlibs -nostartfiles -Wl,-soname=libsgx_$(AENAME).signed.so.$(call get_major_version,PVE_VERSION) $(LDTFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion psw/ae/qe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ all: $(SONAME)
.PHONY: EPID
EPID:
cd $(EPID_SDK_DIR) && CFLAGS="$(EPID_CFLAGS)" CXXFLAGS="$(EPID_CXXFLAGS)" ./configure prefix=/usr/local
$(MAKE) -C $(EPID_SDK_DIR) 2> /dev/null
$(MAKE) -C $(EPID_SDK_DIR)

$(SONAME): $(OBJS) EPID
$(CC) $(CFLAGS) -o $@ $(OBJS) -nostdlib -nodefaultlibs -nostartfiles -Wl,-soname=libsgx_$(AENAME).signed.so.$(call get_major_version,QE_VERSION) $(LDTFLAGS)
Expand Down
8 changes: 4 additions & 4 deletions sdk/Makefile.source
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tstdc: $(LIBTLIBC)

ifndef SERVTD_ATTEST
$(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
$(MAKE) -C tlibc/ -j$(shell nproc) 2> /dev/null
$(MAKE) -C tlibc/ -j$(shell nproc)
@$(MKDIR) $(BUILD_DIR)/.compiler-rt $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
@$(RM) -f $(BUILD_DIR)/.compiler-rt/* && cd $(BUILD_DIR)/.compiler-rt && $(AR) x $(LINUX_SDK_DIR)/compiler-rt/libcompiler-rt.a
@$(RM) -f $(BUILD_DIR)/.tlibthread/* && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
Expand All @@ -96,7 +96,7 @@ $(LIBTLIBC): tlibthread compiler-rt tsafecrt tsetjmp tmm_rsrv
@$(RM) -rf $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
else
$(LIBTLIBC): tlibthread tsafecrt tsetjmp tmm_rsrv
$(MAKE) -C tlibc/ SERVTD_ATTEST=1 -j$(shell nproc) 2> /dev/null
$(MAKE) -C tlibc/ SERVTD_ATTEST=1 -j$(shell nproc)
@$(MKDIR) $(BUILD_DIR)/.tlibthread $(BUILD_DIR)/.tsafecrt $(BUILD_DIR)/.tsetjmp $(BUILD_DIR)/.tmm_rsrv
@$(RM) -f $(BUILD_DIR)/.tlibthread/* && cd $(BUILD_DIR)/.tlibthread && $(AR) x $(LINUX_SDK_DIR)/tlibthread/libtlibthread.a
@$(RM) -f $(BUILD_DIR)/.tsafecrt/* && cd $(BUILD_DIR)/.tsafecrt && $(AR) x $(LINUX_SDK_DIR)/tsafecrt/libsgx_tsafecrt.a
Expand All @@ -119,7 +119,7 @@ tsafecrt:

.PHONY: compiler-rt
compiler-rt:
$(MAKE) -C compiler-rt/ 2> /dev/null
$(MAKE) -C compiler-rt/

.PHONY: tsetjmp
tsetjmp:
Expand Down Expand Up @@ -163,7 +163,7 @@ cpprt:

.PHONY: tlibcxx
tlibcxx: $(BUILD_DIR)
$(MAKE) -C tlibcxx/ 2> /dev/null
$(MAKE) -C tlibcxx/
$(CP) tlibcxx/README.sgx $(BUILD_DIR)/libc++_Changes_SGX.txt

# ---------------------------------------------------
Expand Down