Skip to content

Commit 5ff669e

Browse files
committed
.
1 parent 38c8894 commit 5ff669e

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/rootfs.*.base
33
/menu.json
44
/kual-linuxdeploy-armhf.zip
5+
/extensions

Makefile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
all: kual-linuxdeploy-armhf.zip
1+
PACKAGE=kual-linuxdeploy-armhf
2+
3+
all: $(PACKAGE).zip
24

35
rootfs.ext3.base:
46
dd if=/dev/zero of=rootfs.ext3.base bs=10M count=1
@@ -15,7 +17,12 @@ rootfs.ext4.base:
1517
menu.json: gen.menu.json.js
1618
./gen.menu.json.js > menu.json
1719

18-
kual-linuxdeploy-armhf.zip: chroot.shell.sh config.xml install.alpine.sh lib.sh LICENSE remove.sh resize.sh rootfs.ext3.base rootfs.ext4.base umount.sh menu.json
19-
rm -f $@
20+
extensions: chroot.shell.sh config.xml install.alpine.sh lib.sh LICENSE remove.sh resize.sh rootfs.ext3.base rootfs.ext4.base umount.sh menu.json
21+
rm -fr $@
2022
$(MAKE) -C ./e2fsprogs/
21-
7z a $@ $^ ./e2fsprogs/out/sbin/resize2fs
23+
mkdir -p extensions/$(PACKAGE)
24+
cp $^ ./e2fsprogs/out/sbin/resize2fs extensions/$(PACKAGE)
25+
26+
$(PACKAGE).zip: extensions
27+
rm -f $@
28+
7z a $@ $^

0 commit comments

Comments
 (0)