Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

@@ -157,11 +157,11 @@
 # of these modules be built using the new ld.  This `native' target allows us
 # to build a local ld which will then be used to build the delivered version of
 # itself and ld.so.1.  Once this new functionality appears in the standard ld
 # this target can be disabled.
 
-native-add:     native-proto FRC
+native-add:     FRC
                 @ cd tools/$(MACH); pwd; $(MAKE) native
                 @ cd libconv/$(MACH); pwd; $(MAKE)
                 @ cd libelf/$(MACH); pwd; $(MAKE) native
                 @ cd liblddbg/$(MACH); pwd; $(MAKE) native
                 @ cd libldstab/$(MACH); pwd; $(MAKE) native

@@ -170,16 +170,10 @@
 
 native-clobber:
                 @ cd tools; pwd; $(MAKE) $(TARGET)
                 $(RM) -r proto/$(MACH)
 
-native-proto:
-                -@mkdir -p proto/$(MACH)
-                -@mkdir -p proto/$(MACH)/lib
-                -@mkdir -p proto/$(MACH)/usr
-                -@mkdir -p proto/$(MACH)/usr/bin
-
 FRC:
 
 #
 # Cross-reference customization: ignore the directories named by XRPRUNE,
 # and tweak the file globs slightly.