source: freewrt/package/base-files-arch/Makefile@ 02a9b19

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

add it again from another machine, fix some more bugs in startupscripts

git-svn-id: svn://www.freewrt.org/branches/wbx-target-cleanup@578 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.2 KB
Line 
1include $(TOPDIR)/rules.mk
2include $(TOPDIR)/mk/targets.mk
3
4PKG_NAME:= base-files-arch
5PKG_RELEASE:= 1
6WRKSRC= ${WRKDIR}/$(PKG_NAME)
7DISTFILES:=
8
9include $(TOPDIR)/package/rules.mk
10
11IDIR_BASE_ARCH:=$(WRKBUILD)/$(PKG_NAME)
12IPKG_BASE_ARCH:=$(PACKAGE_DIR)/base-files-arch_$(PKG_RELEASE)_$(ARCH).ipk
13
14$(WRKBUILD)/.prepared:
15 mkdir -p $(WRKBUILD)
16 touch $@
17
18$(WRKBUILD)/.configured:
19 touch $@
20
21$(WRKBUILD)/.built:
22 touch $@
23
24$(IPKG_BASE_ARCH):
25 mkdir -p $(IDIR_BASE_ARCH)
26 $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_BASE_ARCH) ipkg/$(PKG_NAME).control $(PKG_RELEASE) $(ARCH)
27 echo "copy $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files"
28 -[ -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files ] && \
29 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files/* $(IDIR_BASE_ARCH)
30 -[ -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(MODEL)/files ] && \
31 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(MODEL)/files/* $(IDIR_BASE_ARCH)
32 -find $(IDIR_BASE) -type d -name CVS | xargs rm -rf
33 -find $(IDIR_BASE) -type d -name .svn | xargs rm -rf
34 -find $(IDIR_BASE) -name '.#*' | xargs rm -f
35 $(IPKG_BUILD) $(IDIR_BASE_ARCH) $(PACKAGE_DIR)
36
37compile-targets: $(IPKG_BASE_ARCH)
38install-targets: compile
39 $(IPKG) install $(IPKG_BASE_ARCH)
Note: See TracBrowser for help on using the repository browser.