summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2013-10-15 00:21:04 -0400
committerRichard Lowe <richlowe@richlowe.net>2013-10-23 19:52:25 -0400
commitc0e7977a434048a8bc7386ea0e8befaa77a646cf (patch)
tree283ae7c385818ecd7d479cdfb593604c703193ac /usr/src/Makefile
parente7eebcf69de21d2c4df15f003919cdb19b61c694 (diff)
downloadillumos-gate-c0e7977a434048a8bc7386ea0e8befaa77a646cf.tar.gz
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT 4029 remove tonic build bits Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile32
1 files changed, 14 insertions, 18 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 9f817ea2db..ef522a4817 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -135,22 +135,20 @@ clobber_local:
closedbins: bldtools $(ROOTDIRS) FRC
@CLOSED_ROOT="$$ON_CLOSED_BINS/root_$(MACH)$${RELEASE_BUILD+-nd}"; \
- if [ "$$CLOSED_IS_PRESENT" = no ]; then \
- if [ ! -d "$$CLOSED_ROOT" ]; then \
- $(ECHO) "Error: if closed sources are not present," \
- "ON_CLOSED_BINS must point to closed binaries."; \
- $(ECHO) "root_$(MACH)$${RELEASE_BUILD+-nd} is not" \
- "present in $$ON_CLOSED_BINS."; \
- exit 1; \
- fi; \
- $(ECHO) "Copying closed binaries from $$CLOSED_ROOT"; \
- (cd $$CLOSED_ROOT; \
- $(TAR) cfX - $(CODEMGR_WS)/exception_lists/closed-bins .) | \
- (cd $(ROOT); $(TAR) xBpf -); \
- ( cd $(ROOT); $(CTFSTRIP) $$(cd $$CLOSED_ROOT; $(FIND) \
- ./kernel ./usr/kernel ./platform/*/kernel -type f -a -perm -u+x | \
- $(EGREP) -vf $(CODEMGR_WS)/exception_lists/closed-bins) ); \
- fi
+ if [ ! -d "$$CLOSED_ROOT" ]; then \
+ $(ECHO) "Error: ON_CLOSED_BINS must point to closed" \
+ "binaries."; \
+ $(ECHO) "root_$(MACH)$${RELEASE_BUILD+-nd} is not" \
+ "present in $$ON_CLOSED_BINS."; \
+ exit 1; \
+ fi; \
+ $(ECHO) "Copying closed binaries from $$CLOSED_ROOT"; \
+ (cd $$CLOSED_ROOT; \
+ $(TAR) cfX - $(CODEMGR_WS)/exception_lists/closed-bins .) | \
+ (cd $(ROOT); $(TAR) xBpf -); \
+ ( cd $(ROOT); $(CTFSTRIP) $$(cd $$CLOSED_ROOT; $(FIND) \
+ ./kernel ./usr/kernel ./platform/*/kernel -type f -a -perm -u+x | \
+ $(EGREP) -vf $(CODEMGR_WS)/exception_lists/closed-bins) )
#
# Declare what parts can be built in parallel
@@ -213,10 +211,8 @@ check: $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS)
# Cross-reference customization: skip all of the subdirectories that
# don't contain actual source code.
#
-$(CLOSED_BUILD)XRDIRS += ../closed
XRPRUNE = pkg prototypes
XRINCDIRS = uts/common head ucbhead
-$(CLOSED_BUILD)XRINCDIRS = uts/common ../closed/uts/common head ucbhead
cscope.out tags: FRC
$(XREF) -f -x $@