summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorJohn Sonnenschein <johns@joyent.com>2011-12-15 22:44:06 +0000
committerJohn Sonnenschein <johns@joyent.com>2011-12-15 22:44:06 +0000
commitfde4bd62fc16c767a1d61994af3ca2b931881f16 (patch)
tree6c72e03c3c86bff83d50462b5cb9b4651550a26c /usr/src/Makefile
parentc4aa323138d7633d35c7cbf4123aa100970a91f9 (diff)
parent7660940272c01cb2b7fd050a8536ae010e0dceaa (diff)
downloadillumos-joyent-fde4bd62fc16c767a1d61994af3ca2b931881f16.tar.gz
Merge branch 'gcc/upgrade' of https://github.com/richlowe/illumos-gate into gcc4
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index ee119b34eb..61012b8ff7 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -125,7 +125,7 @@ mapfiles: bldtools
clean clobber: $(SUBDIRS) head pkg
-closedbins: FRC $(ROOTDIRS)
+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 \
@@ -139,6 +139,9 @@ closedbins: FRC $(ROOTDIRS)
(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
#