22 lines
407 B
Makefile
22 lines
407 B
Makefile
|
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:
|