source: freewrt/package/jffs2root/Makefile@ 7afec77

freewrt_1_0 freewrt_2_0
Last change on this file since 7afec77 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

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

  • Property mode set to 100644
File size: 811 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:= jffs2root
10PKG_RELEASE:= 1
11
12WRKSRC= ${WRKDIR}/$(PKG_NAME)
13DISTFILES:=
14
15include $(TOPDIR)/mk/package.mk
16
17$(eval $(call PKG_template,JFFS2ROOT,$(PKG_NAME),$(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)/jffs2root jffs2root.c
28 touch $@
29
30$(IPKG_JFFS2ROOT):
31 $(INSTALL_DIR) $(IDIR_JFFS2ROOT)/sbin
32 $(INSTALL_BIN) $(WRKBUILD)/jffs2root $(IDIR_JFFS2ROOT)/sbin
33 $(RSTRIP) $(IDIR_JFFS2ROOT)
34 $(IPKG_BUILD) $(IDIR_JFFS2ROOT) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.