source: freewrt/package/jffs2root/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 was 1b2d56f, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago

linux: update to 6.12, cleanup

  • Property mode set to 100644
File size: 793 bytes
Line 
1# This file is part of the FreeWRT project. FreeWRT is copyrighted
2# material, please see the LICENCE file in the top-level directory
3
4include $(TOPDIR)/rules.mk
5
6PKG_NAME:= jffs2root
7PKG_VERSION:= 1.0
8PKG_RELEASE:= 1
9
10WRKSRC= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)
11DISTFILES:=
12
13include $(TOPDIR)/mk/package.mk
14
15$(eval $(call PKG_template,JFFS2ROOT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
16
17$(WRKBUILD)/.prepared:
18 mkdir -p $(WRKBUILD)
19 touch $@
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/jffs2root jffs2root.c
26 touch $@
27
28$(IPKG_JFFS2ROOT):
29 $(INSTALL_DIR) $(IDIR_JFFS2ROOT)/sbin
30 $(INSTALL_BIN) $(WRKBUILD)/jffs2root $(IDIR_JFFS2ROOT)/sbin
31 $(RSTRIP) $(IDIR_JFFS2ROOT)
32 $(IPKG_BUILD) $(IDIR_JFFS2ROOT) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.