diff options
-rw-r--r-- | payloads/libpayload/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc index 6835b84f09..fc679dd27e 100644 --- a/payloads/libpayload/Makefile.inc +++ b/payloads/libpayload/Makefile.inc @@ -69,7 +69,10 @@ ifeq ($(CONFIG_LP_LTO),y) CFLAGS += -flto endif -$(obj)/libpayload-config.h: $(KCONFIG_AUTOHEADER) +$(obj)/libpayload.config: $(DOTCONFIG) + cp $< $@ + +$(obj)/libpayload-config.h: $(KCONFIG_AUTOHEADER) $(obj)/libpayload.config cmp $@ $< 2>/dev/null || cp $< $@ library-targets = $(addsuffix .a,$(addprefix $(obj)/,$(libraries))) $(obj)/libpayload.a |