summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/Makefile')
-rw-r--r--mdk-stage1/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index d6135bc8b..95be78f45 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -187,6 +187,17 @@ clean:
done
rm -f *.o .depend *.rdz *.img $(BINS)
+
+tar-mkinitrd_helper: clean
+ $(MAKE) -C mkinitrd_helper clean
+ rm -rf mkinitrd_helper-subdir
+ mkdir mkinitrd_helper-subdir
+ cd mkinitrd_helper-subdir ; cp -a ../dietlibc ../insmod-busybox ../mkinitrd_helper ../Makefile.common ../insmod.h ../log.h . ; \
+ cp ../Makefile.mkinitrd_helper Makefile
+ tar cfj mkinitrd_helper.tar.bz2 mkinitrd_helper-subdir --exclude CVS
+ rm -rf mkinitrd_helper-subdir
+
+
.depend:
$(CPP) $(CFLAGS) -DHAVE_CONFIG_H -M $(ALLSRC) > .depend