summaryrefslogtreecommitdiff
path: root/obsolete-buildroot
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-06-01 19:54:39 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-06-01 19:54:39 +0000
commit189f306f493d95edd81164f60a3e67e0036b7740 (patch)
tree5090c86a8c449525b3161c259a8d52508dfb53f4 /obsolete-buildroot
parent3b7d192b48ef0cf154650e4dc1b8002dc855596e (diff)
jffs2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@56 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot')
-rw-r--r--obsolete-buildroot/make/jffs2-bbc.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/obsolete-buildroot/make/jffs2-bbc.mk b/obsolete-buildroot/make/jffs2-bbc.mk
new file mode 100644
index 0000000000..44f3a4feb4
--- /dev/null
+++ b/obsolete-buildroot/make/jffs2-bbc.mk
@@ -0,0 +1,33 @@
+#############################################################
+#
+# jffsbbc
+#
+#############################################################
+
+
+JFFSBBC_SOURCE:=bbc-0.54.3.tgz
+JFFSBBC_DIR:=$(BUILD_DIR)/bbc-0.54.3
+JFFSBBC_SITE:=http://www.inf.u-szeged.hu/jffs2
+JFFSBBC_CAT:=zcat
+
+LINUX_DIR:=$(BUILD_DIR)/WRT54GS/release/src/linux/linux
+
+$(DL_DIR)/$(JFFSBBC_SOURCE):
+ $(WGET) -P $(DL_DIR) $(JFFSBBC_SITE)/$(JFFSBBC_SOURCE)
+
+jffsbbc-source: $(DL_DIR)/$(JFFSBBC_SOURCE)
+
+$(JFFSBBC_DIR)/.unpacked: $(DL_DIR)/$(JFFSBBC_SOURCE)
+ $(JFFSBBC_CAT) $(DL_DIR)/$(JFFSBBC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+ touch $(JFFSBBC_DIR)/.unpacked
+
+$(LINUX_DIR)/.bbc-patched: $(LINUX_DIR)/.patched $(JFFSBBC_DIR)/.unpacked
+ -(cd $(JFFSBBC_DIR)/src; ./install.jffs2 linux-2.4.25.hpatch $(LINUX_DIR))
+ touch $(LINUX_DIR)/.bbc-patched
+
+jffsbbc: $(LINUX_DIR)/.bbc-patched
+
+jffsbbc-clean:
+
+jffsbbc-dirclean:
+ rm -rf $(JFFSBBC_DIR)