h4ck/lg_webOS/_ipk-building/busybox/Makefile

22 lines
407 B
Makefile
Raw Permalink Normal View History

2016-11-18 22:19:32 +01:00
all: clean busybox.ipk
busybox.ipk:
rm -rf ipk
mkdir -p ipk/opt/myipk
#mkdir -p ipk/
cp -r source/* ipk/
# sanity
echo 'bar' >> ipk/opt/myipk/foo
tar czvf control.tar.gz control
cd ipk; tar czvf ../data.tar.gz .; cd ..
echo 2.0 > debian-binary
ar r busybox.ipk control.tar.gz data.tar.gz debian-binary
clean: FORCE
rm -rf ipk
rm -f control.tar.gz
rm -f data.tar.gz
rm -f busybox.ipk
FORCE: