Skip to content

Commit

Permalink
Overwrite kernel outputs when file is already there
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPeJu committed Mar 7, 2024
1 parent 22fdd94 commit c5a7a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ $(KERNEL_SRC):

$(KERNEL_BUILD)/.config: kernel/$(PLATFORM).config $(KERNEL_SRC)
mkdir -p $(KERNEL_BUILD)
cp $< $@
cp -f $< $@
$(MAKE_KERNEL) -j4 olddefconfig

$(IMAGE): $(KERNEL_BUILD)/.config
Expand Down Expand Up @@ -295,7 +295,7 @@ BOOT_FILES += boot/config.txt # Configuration settings for target

boot: $(BOOT_FILES)
mkdir -p $(BOOT_IMAGE)
cp $^ $(BOOT_IMAGE)
cp -f $^ $(BOOT_IMAGE)

.PHONY: boot

Expand Down

0 comments on commit c5a7a12

Please sign in to comment.