summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorah89892 <none@none>2006-11-27 21:56:37 -0800
committerah89892 <none@none>2006-11-27 21:56:37 -0800
commit5b43ca4109c8bb7b982368a54f5a31ea9bad8098 (patch)
treed3bb75eece8bf8e77632393f2af107994c175a1b /usr/src/Makefile
parenta9a89b0d6c324bab7992625c6817b44dc958f35d (diff)
downloadillumos-joyent-5b43ca4109c8bb7b982368a54f5a31ea9bad8098.tar.gz
6495870 usr/src/Makefile needs to recognise the non-debug encumbered binary deliverable
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index d124040b35..0e3d6f5059 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -117,14 +117,17 @@ rootlibs: sgs
@cd lib; pwd; $(MAKE) install
closedbins: FRC $(ROOTDIRS)
- @if [ "$$CLOSED_IS_PRESENT" = no ]; then \
- if [ ! -d "$$ON_CLOSED_BINS/root_$(MACH)" ]; then \
+ @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 $$ON_CLOSED_BINS"; \
- (cd $$ON_CLOSED_BINS/root_$(MACH); tar cf - .) | \
+ $(ECHO) "Copying closed binaries from $$CLOSED_ROOT"; \
+ (cd $$CLOSED_ROOT; tar cf - .) | \
(cd $(ROOT); tar xBpf -); \
fi