From 12712145bdf7dd2e2e6e0a2533b0dd40976b71b2 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 11 Oct 2021 14:06:32 +0200 Subject: sandbox: Fix stickypage.bin dependencies stickypage.o is included in the build process once in arch/sandbox/board/Makefile using extra-y += stickypage.o and once again in arch/sandbox/Makefile using stickypage.bin: arch/sandbox/board/stickypage.o This doesn't work as expected. With parallel builds it can happen that the file is built twice confusing the build system. Create stickypage.bin in a single directory only. Signed-off-by: Sascha Hauer --- arch/sandbox/Makefile | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/sandbox/Makefile') diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index ba2614ea5f..5fc7e227be 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -75,10 +75,3 @@ common-y += $(BOARD) arch/sandbox/os/ arch/sandbox/lib/ common-$(CONFIG_OFTREE) += arch/sandbox/dts/ CLEAN_FILES += $(BOARD)/barebox.lds - -OBJCOPYFLAGS_stickypage.bin = -O binary - -stickypage.bin: arch/sandbox/board/stickypage.o - $(call if_changed,objcopy) - -all: stickypage.bin -- cgit v1.2.3