source: freewrt/tools/jffs2/Makefile@ 65328a3

Last change on this file since 65328a3 was 65328a3, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

unify Makefile header, remove obsolete afdisk headers

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1157 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1023 bytes
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7PKG_NAME= mtd
8PKG_VERSION= 20050122
9PKG_MD5SUM= 1f42c2cae08eb9e7b52d0c188f8d6338
10
11PKG_SOURCE= mtd_20050122.orig.tar.gz
12PKG_SOURCE_URL= http://ftp.debian.org/debian/pool/main/m/mtd
13WRKSRC= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}.orig
14
15include $(TOPDIR)/rules.mk
16include ../rules.mk
17
18$(WRKBUILD)/util/mkfs.jffs2: ${WRKBUILD}/.prepared
19 cd $(TOPDIR)/scripts && cp byteswap.h endian.h param.h \
20 $(WRKBUILD)/include/
21 cp $(TOPDIR)/scripts/getline.c $(WRKBUILD)/util/
22 $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(WRKBUILD)/util
23
24$(STAGING_DIR)/bin/mkfs.jffs2: $(WRKBUILD)/util/mkfs.jffs2
25 mkdir -p $(STAGING_DIR)/bin
26 $(CP) $< $@
27
28source: $(DL_DIR)/$(PKG_SOURCE)
29prepare: ${WRKBUILD}/.prepared
30compile: $(WRKBUILD)/util/mkfs.jffs2 $(STAGING_DIR)/bin/mkfs.jffs2
31install: $(STAGING_DIR)/bin/mkfs.jffs2
32clean:
33 rm -rf $(WRKBUILD)
Note: See TracBrowser for help on using the repository browser.