Skip to content

Commit bd6a99e

Browse files
armhf: Update linux debian image file name
For armhf "unsigned" is not appended to the linux-image file name Hence removed it from the target name Testing: - Checked linux image debian is copied properly after sucessful build Signed-off-by: Antony Rheneus <[email protected]>
1 parent 873ee9f commit bd6a99e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ CONFIGURED_ARCH ?= amd64
1212

1313
LINUX_HEADER_COMMON = linux-headers-$(KVERSION_SHORT)-common_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_all.deb
1414
LINUX_HEADER_AMD64 = linux-headers-$(KVERSION)_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
15-
LINUX_IMAGE = linux-image-$(KVERSION)-unsigned_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
15+
ifeq ($(CONFIGURED_ARCH), armhf)
16+
LINUX_IMAGE = linux-image-$(KVERSION)_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
17+
else
18+
LINUX_IMAGE = linux-image-$(KVERSION)-unsigned_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
19+
endif
1620

1721
MAIN_TARGET = $(LINUX_HEADER_COMMON)
1822
DERIVED_TARGETS = $(LINUX_HEADER_AMD64) $(LINUX_IMAGE)

0 commit comments

Comments
 (0)