]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - Kbuild
arm: dts: imx93-phyboard-segin: Add USB support
[thirdparty/u-boot.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index 6014f7c34ac4298fc1f29e45d60289d1e72b3f37..bf52e540518e1d05d22249a4d7ec46b4b86d2825 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -10,7 +10,9 @@ generic-offsets-file := include/generated/generic-asm-offsets.h
 always  := $(generic-offsets-file)
 targets := lib/asm-offsets.s
 
-$(obj)/$(generic-offsets-file): lib/asm-offsets.s FORCE
+CFLAGS_REMOVE_asm-offsets.o := $(LTO_CFLAGS)
+
+$(obj)/$(generic-offsets-file): $(obj)/lib/asm-offsets.s FORCE
        $(call filechk,offsets,__GENERIC_ASM_OFFSETS_H__)
 
 #####
@@ -25,5 +27,5 @@ targets += arch/$(ARCH)/lib/asm-offsets.s
 
 CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY
 
-$(obj)/$(offsets-file): arch/$(ARCH)/lib/asm-offsets.s FORCE
+$(obj)/$(offsets-file): $(obj)/arch/$(ARCH)/lib/asm-offsets.s FORCE
        $(call filechk,offsets,__ASM_OFFSETS_H__)