Print this page
1961 investigate stopping uniquifying CTF information
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>

@@ -70,20 +70,10 @@
 #
 CLOBBERFILES    += $(GENUNIX)
 CLEANFILES      += $(LIBSTUBS) $(LIBGEN)
 BINARY          =
 
-#
-# Non-patch genunix builds merge a version of the ip module called ipctf.  This
-# is to ensure that the common network-related types are included in genunix and
-# can thus be uniquified out of other modules.  We don't want to do this for
-# patch builds, since we can't guarantee that ip and genunix will be in the same
-# patch.
-#
-IPCTF_TARGET    = $(IPCTF)
-$(PATCH_BUILD)IPCTF_TARGET =
-
 CPPFLAGS        += -I$(SRC)/common
 CPPFLAGS        += -I$(SRC)/uts/common/fs/zfs
 
 CPPFLAGS        += -I$(UTSBASE)/i86pc
 

@@ -138,17 +128,13 @@
 install:        $(INSTALL_DEPS)
 
 $(LIBGEN):      $(GENUNIX) $(LIBSTUBS)
         $(BUILD.SO) $(GENUNIX) $(LIBSTUBS)
 
-$(IPCTF_TARGET) ipctf_target: FRC
-        @cd $(IPDRV_DIR); pwd; $(MAKE) ipctf.$(OBJS_DIR)
-        @pwd
-
-$(GENUNIX): $(IPCTF_TARGET) $(OBJECTS)
+$(GENUNIX): $(OBJECTS)
         $(LD) -r $(LDFLAGS) -o $@ $(OBJECTS)
-        $(CTFMERGE_GENUNIX_MERGE)
+        $(CTFMERGE_MODULE)
         $(POST_PROCESS)
 
 #
 #       Include common targets.
 #