Skip to content

Commit

Permalink
Merge pull request #2 from Bayroom/fixAddStartupFile
Browse files Browse the repository at this point in the history
fix: add startup file wile building
  • Loading branch information
Bayroom committed Apr 7, 2023
2 parents 381c6fd + d600aa8 commit 73adf97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/x86/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ GRUB_TITLE:=$(call qstrip,$(CONFIG_GRUB_TITLE))
BOOTOPTS:=$(call qstrip,$(CONFIG_GRUB_BOOTOPTS))

define Build/combined
$(CP) ./startup.nsh $@.boot/
$(CP) $(KDIR)/$(KERNEL_NAME) $@.boot/boot/vmlinuz
-$(CP) $(STAGING_DIR_ROOT)/boot/. $@.boot/boot/
$(CP) $(STAGING_DIR_IMAGE)/grub2/boot.img $@.boot/boot/grub/
$(CP) ./startup.nsh $(KDIR)/root.grub/
$(CP) $(STAGING_DIR_IMAGE)/grub2/$(if $(filter $(1),efi),gpt,$(GRUB2_VARIANT))-core.img \
$@.boot/boot/grub/core.img
$(if $(filter $(1),efi),
Expand Down

0 comments on commit 73adf97

Please sign in to comment.