add support for belkin/ravotek routers
[openwrt.git] / obsolete-buildroot / make / jffs2-bbc.mk
1 #############################################################
2 #
3 # jffsbbc
4 #
5 #############################################################
6
7
8 JFFSBBC_SOURCE:=bbc-0.54.3.tgz
9 JFFSBBC_DIR:=$(BUILD_DIR)/bbc-0.54.3
10 JFFSBBC_SITE:=http://www.inf.u-szeged.hu/jffs2
11 JFFSBBC_CAT:=zcat
12
13 LINUX_DIR:=$(BUILD_DIR)/WRT54GS/release/src/linux/linux
14
15 $(DL_DIR)/$(JFFSBBC_SOURCE):
16 $(WGET) -P $(DL_DIR) $(JFFSBBC_SITE)/$(JFFSBBC_SOURCE)
17
18 jffsbbc-source: $(DL_DIR)/$(JFFSBBC_SOURCE)
19
20 $(JFFSBBC_DIR)/.unpacked: $(DL_DIR)/$(JFFSBBC_SOURCE)
21 $(JFFSBBC_CAT) $(DL_DIR)/$(JFFSBBC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
22 touch $(JFFSBBC_DIR)/.unpacked
23
24 $(LINUX_DIR)/.bbc-patched: $(LINUX_DIR)/.patched $(JFFSBBC_DIR)/.unpacked
25 -(cd $(JFFSBBC_DIR)/src; ./install.jffs2 linux-2.4.25.hpatch $(LINUX_DIR))
26 touch $(LINUX_DIR)/.bbc-patched
27
28 jffsbbc: $(LINUX_DIR)/.bbc-patched
29
30 jffsbbc-clean:
31
32 jffsbbc-dirclean:
33 rm -rf $(JFFSBBC_DIR)
This page took 0.04041 seconds and 5 git commands to generate.