Fixed [TC-88]:gptp daemon manually launch fail. 85/24785/2
authorolive <dongdongx.li@intel.com>
Tue, 22 Jul 2014 01:51:09 +0000 (09:51 +0800)
committerolive <dongdongx.li@intel.com>
Tue, 22 Jul 2014 03:42:41 +0000 (11:42 +0800)
Rewrite Makefile and don't let it complie at the second time.
because the marco "EXTRA_CFLAGS=-DIGB_PTP" will lost at the second time complie.

Change-Id: Ibcea3779a9b825a96da75c2f0f3e4bbd51044c83
Signed-off-by: olive <dongdongx.li@intel.com>
kmod/igb/Makefile

index 87a27ad..995674c 100644 (file)
@@ -319,7 +319,7 @@ DEPVER := $(shell /sbin/depmod -V 2>/dev/null | \
 $(MANFILE).gz: $(MANFILE)
        gzip -c $< > $@
 
-install: default
+install:
        # remove all old versions of the driver
        find $(INSTALL_MOD_PATH)/lib/modules/$(KVER) -name $(TARGET) -exec rm -f {} \; || true
        find $(INSTALL_MOD_PATH)/lib/modules/$(KVER) -name $(TARGET).gz -exec rm -f {} \; || true