Pārlūkot izejas kodu

[build] Disable ccache for all relevant build targets

The build process currently attempts to disable ccache for files using
the .incbin directive, but the rule fails to apply to anything beyond
the simple object target.  Fix by applying to all relevant build
targets (including debug objects, assembly listings, and so on).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 gadus atpakaļ
vecāks
revīzija
8540300951
1 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. 3
    4
      src/Makefile.housekeeping

+ 3
- 4
src/Makefile.housekeeping Parādīt failu

@@ -674,9 +674,8 @@ CFLAGS_clientcert += $(if $(PRIVKEY),-DPRIVATE_KEY="\"$(PRIVKEY_INC)\"")
674 674
 # Unfortunately ccache does not detect this dependency and caches
675 675
 # builds even when the binary file has changed.
676 676
 #
677
-$(BIN)/embedded.o : override CC := env CCACHE_DISABLE=1 $(CC)
678
-
679
-$(BIN)/clientcert.o : override CC := env CCACHE_DISABLE=1 $(CC)
677
+$(BIN)/embedded.% : override CC := env CCACHE_DISABLE=1 $(CC)
678
+$(BIN)/clientcert.% : override CC := env CCACHE_DISABLE=1 $(CC)
680 679
 
681 680
 # Version number
682 681
 #
@@ -686,7 +685,7 @@ CFLAGS_version += -DVERSION_MAJOR=$(VERSION_MAJOR) \
686 685
 		  -DVERSION="\"$(VERSION)\""
687 686
 # Make sure the version number gets updated on every git checkout
688 687
 ifneq ($(GITVERSION),)
689
-$(BIN)/version.o : ../.git/index
688
+$(BIN)/version.% : ../.git/index
690 689
 endif
691 690
 
692 691
 # We automatically generate rules for any file mentioned in AUTO_SRCS

Notiek ielāde…
Atcelt
Saglabāt