Skip to content

Commit 0891e42

Browse files
Wenlpopsiff
authored andcommitted
sw64: kernel package adapt
Signed-off-by: wenlunpeng <wenlunpeng@uniontech.com> Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 1514761 commit 0891e42

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

arch/sw_64/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ archclean:
6464
$(Q)$(MAKE) $(clean)=$(boot)
6565
$(Q)$(MAKE) $(clean)=arch/sw_64/tools
6666

67-
KBUILD_IMAGE := $(boot)/vmlinux.bin
67+
KBUILD_IMAGE := $(boot)/vmlinux
6868

6969
define archhelp
7070
echo '* boot - Compressed kernel image (arch/sw_64/boot/vmlinux.bin.gz)'

scripts/package/mkdebian

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ set_debarch() {
2626

2727
# Attempt to find the correct Debian architecture
2828
case "$UTS_MACHINE" in
29-
i386|ia64|alpha|m68k|riscv*|sw_64)
29+
i386|ia64|alpha|m68k|riscv*)
3030
debarch="$UTS_MACHINE" ;;
31+
sw_64)
32+
debarch=sw64 ;;
3133
x86_64)
3234
debarch=amd64 ;;
3335
sparc*)

0 commit comments

Comments
 (0)