diff options
author | Jason King <jason.brian.king@gmail.com> | 2012-09-14 12:26:23 -0400 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2012-09-14 14:27:29 -0400 |
commit | a0ed50307cf80490d23a92f5eac0bfcd26343dd6 (patch) | |
tree | 16329dc2ed4814e15952accc959cd7ef14d15ece /usr/src/Makefile | |
parent | 2007c08f9799ffdd411bdfb139620e810813c068 (diff) | |
download | illumos-gate-a0ed50307cf80490d23a92f5eac0bfcd26343dd6.tar.gz |
2224 closed-bins should be stripped of CTF
Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r-- | usr/src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile index 45252e17c9..c9cccb4502 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 # |