From 6591d4013f0fb62a90ebbca3b2cf6977c4a55347 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Tue, 1 Jun 2004 19:54:39 +0000 Subject: [PATCH] jffs2 patches SVN-Revision: 56 --- obsolete-buildroot/make/jffs2-bbc.mk | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 obsolete-buildroot/make/jffs2-bbc.mk 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)