source: freewrt/package/mtd/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 2a24c7cd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

sync with trunk

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2411 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 784 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
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= mtd
10PKG_VERSION:= 1.0
11PKG_RELEASE:= 7
12WRKSRC= ${WRKDIR}/$(PKG_NAME)
13DISTFILES:=
14
15include $(TOPDIR)/mk/package.mk
16
17$(eval $(call PKG_template,MTD,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19$(WRKBUILD)/.prepared:
20 mkdir -p $(WRKBUILD)
21 touch $@
22
23$(WRKBUILD)/.configured:
24 touch $@
25
26$(WRKBUILD)/.built:
27 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/mtd mtd.c
28 touch $@
29
30$(IPKG_MTD):
31 $(INSTALL_DIR) $(IDIR_MTD)/sbin
32 $(INSTALL_BIN) $(WRKBUILD)/mtd $(IDIR_MTD)/sbin
33 $(RSTRIP) $(IDIR_MTD)
34 $(IPKG_BUILD) $(IDIR_MTD) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.