-
Notifications
You must be signed in to change notification settings - Fork 82
/
Makefile
28 lines (23 loc) · 890 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: src/squashfs-tools/mksquashfs src/squashfs-tools/unsquashfs \
src/padjffs2/padjffs2 src/opkg/src/opkg-cl src/hexof/hexof
src/squashfs-tools/mksquashfs src/squashfs-tools/unsquashfs:
make -C src/squashfs-tools
src/padjffs2/padjffs2:
make -C src/padjffs2
src/opkg/src/opkg-cl:
cd src/opkg; ./autogen.sh --disable-curl --disable-gpg --with-opkgetcdir=/etc --with-opkglockfile=/tmp/opkg.lock
make -C src/opkg
src/hexof/hexof:
make -C src/hexof
clean:
make clean -C src/squashfs-tools
make clean -C src/padjffs2
make clean -C src/opkg
make clean -C src/hexof
install: all
install -m755 src/squashfs-tools/mksquashfs src/squashfs-tools/unsquashfs /usr/bin/
install -m755 src/padjffs2/padjffs2 /usr/bin/
install -m755 src/opkg/src/opkg-cl /usr/bin/
install -m755 src/opkg.sh /usr/bin/opkg
install -m755 src/hexof/hexof /usr/bin/
install -m755 openwrt-repack.sh /usr/bin/