Skip to content

Commit dd88c7e

Browse files
committed
Avoid duplicated URL assignment
1 parent 365bdd2 commit dd88c7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mk/external.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
# _DATA : the file to be read by specific executable.
44
# _DATA_SHA1 : the checksum of the content in _DATA
55

6+
COMMON_URL = https://github.com/sysprog21/semu/raw/blob
7+
68
# kernel
7-
KERNEL_DATA_URL = https://github.com/jserv/semu/raw/blob/Image.bz2
9+
KERNEL_DATA_URL = $(COMMON_URL)/Image.bz2
810
KERNEL_DATA = Image
911
KERNEL_DATA_SHA1 = 36d770efe97beac85204f1f50f8de81e3e529d84
1012

1113
# initrd
12-
INITRD_DATA_URL = https://github.com/jserv/semu/raw/blob/rootfs.cpio.bz2
14+
INITRD_DATA_URL = $(COMMON_URL)/rootfs.cpio.bz2
1315
INITRD_DATA = rootfs.cpio
1416
INITRD_DATA_SHA1 = fad749d0a9eb33178525f961d6b82e7c0ce917a7
1517

0 commit comments

Comments
 (0)