Changeset e193a31 in freewrt
- Timestamp:
- Jan 6, 2007, 9:13:28 PM (19 years ago)
- Children:
- b296cf70
- Parents:
- b1399a6
- Location:
- package/base-files-arch
- Files:
-
- 1 edited
- 1 moved
-
Makefile (modified) (2 diffs)
-
ipkg/subst.control (moved) (moved from package/base-files-arch/ipkg/base-files-arch.control )
Legend:
- Unmodified
- Added
- Removed
-
package/base-files-arch/Makefile
rb1399a6 re193a31 11 11 PKG_VERSION:= 1.0 12 12 PKG_RELEASE:= 3 13 14 WRKSRC= ${WRKDIR}/$(PKG_NAME) 15 DISTFILES:= 13 NO_DISTFILES:= 1 16 14 17 15 include $(TOPDIR)/mk/package.mk 18 16 19 IDIR_BASE_ARCH:=$(WRKBUILD)/$(PKG_NAME)-$(PKG_VERSION) 20 IPKG_BASE_ARCH:=$(PACKAGE_DIR)/base-files-$(BOARD)-$(KERNEL)-$(DEVICE)-$(FS)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk 17 PKG_ID= ${BOARD}-${KERNEL}-${DEVICE}-${FS} 21 18 22 $(WRKBUILD)/.prepared: 23 mkdir -p $(WRKBUILD) 24 touch $@ 19 $(eval $(call PKG_template,BASE_ARCH,base-files-${PKG_ID},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 25 20 26 $(WRKBUILD)/.configured: 27 touch $@ 21 do-extract: 22 sed 's#base-files-arch#base-files-${PKG_ID}#' \ 23 <ipkg/subst.control >ipkg/base-files-${PKG_ID}.control 28 24 29 $(WRKBUILD)/.built: 30 touch $@ 31 32 $(IPKG_BASE_ARCH): 25 do-install: 33 26 mkdir -p $(IDIR_BASE_ARCH) 34 $(CP) ipkg/$(PKG_NAME).control \35 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(DEVICE)-$(FS).control36 $(SED) "s/base-files-arch/base-files-$(BOARD)-$(KERNEL)-$(DEVICE)-$(FS)/" \37 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(DEVICE)-$(FS).control38 $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_BASE_ARCH) \39 $(WRKBUILD)/base-files-$(BOARD)-$(KERNEL)-$(DEVICE)-$(FS).control \40 $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)41 27 -[ -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files ] && \ 42 28 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/files/* $(IDIR_BASE_ARCH) … … 44 30 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(FS)/files/* $(IDIR_BASE_ARCH) 45 31 -[ -d $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(DEVICE)/files ] && \ 46 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(DEVICE)/files/* $(IDIR_BASE_ARCH) 32 $(CP) $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)/$(DEVICE)/files/* $(IDIR_BASE_ARCH) 47 33 -find $(IDIR_BASE_ARCH) -type d -name CVS | xargs rm -rf 48 34 -find $(IDIR_BASE_ARCH) -type d -name .svn | xargs rm -rf 49 35 -find $(IDIR_BASE_ARCH) -name '.#*' | xargs rm -f 50 $(IPKG_BUILD) $(IDIR_BASE_ARCH) $(PACKAGE_DIR)51 36 52 compile-targets: $(IPKG_BASE_ARCH) 53 install-targets: compile 54 $(IPKG) install $(IPKG_BASE_ARCH) 37 clean-targets: clean-ipkg-gen 38 39 clean-ipkg-gen: 40 -rm -f ipkg/base-files-*.control 55 41 56 42 include ${TOPDIR}/mk/pkg-bottom.mk
Note:
See TracChangeset
for help on using the changeset viewer.
