Changeset 1e977a4 in freewrt
- Timestamp:
- Jul 16, 2006, 8:39:14 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 8c028e7
- Parents:
- efcdba6
- Files:
-
- 5 edited
-
Makefile (modified) (1 diff)
-
rules.mk (modified) (3 diffs)
-
scripts/scan-tools.sh (modified) (1 diff)
-
target/linux/image/tgz.mk (modified) (1 diff)
-
tools/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile
refcdba6 r1e977a4 107 107 ln -s $$(which make) lbin/gmake; \ 108 108 fi 109 @if which gtar >/dev/null 2>&1; then \110 ln -s $$(which gtar) lbin/tar; \111 else \112 ln -s $$(which tar) lbin/tar; \113 fi114 109 @if ! which md5sum >/dev/null 2>&1; then \ 115 110 cp scripts/md5sum.bsd lbin/md5sum; \ -
rules.mk
refcdba6 r1e977a4 1 # $FreeWRT$ 2 1 3 include $(TOPDIR)/lbin/prereq.mk 2 4 include $(TOPDIR)/.config … … 54 56 55 57 ifeq ($(BR2_TAR_VERBOSITY),y) 56 TAR_OPTIONS= -xvf58 TAR_OPTIONS= -xvf 57 59 else 58 TAR_OPTIONS= -xf60 TAR_OPTIONS= -xf 59 61 endif 60 61 #ifeq ($(shell which pax 2>/dev/null),) 62 TAR_EXTRACT= $(TOPDIR)/lbin/tar $(TAR_OPTIONS) - 63 #else 64 #TAR_EXTRACT= pax -r -pma 65 #endif 62 TAR_EXTRACT= ${TOPDIR}/lbin/tar ${TAR_OPTIONS} - 66 63 67 64 TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) … … 139 136 for file in ${DISTFILES}; do \ 140 137 case $$file in \ 141 *. zip) unzip $$file ;;\142 *.cpio)cpio -mid <$$file ;; \143 *. tar) tar -xf $$file ;;\144 *.cpio.Z | *.cpio.gz | *.cgz | *.mcz) \138 *.cpio | *.tar) \ 139 cpio -mid <$$file ;; \ 140 *.cpio.Z | *.cpio.gz | *.cgz | *.mcz | \ 141 *.tar.Z | *.tar.gz | *.taz | *.tgz) \ 145 142 gzip -dc $$file | cpio -mid ;; \ 146 *.tar.Z | *.tar.gz | *.taz | *.tgz) \ 147 gzip -dc $$file | tar -xf - ;; \ 148 *.cpio.bz2 | *.cbz) \ 143 *.cpio.bz2 | *.cbz | *.tar.bz2 | *.tbz) \ 149 144 bzip2 -dc $$file | cpio -mid ;; \ 150 *. tar.bz2 | *.tbz) \151 bzip2 -dc $$file | tar -xf -;; \145 *.zip) \ 146 unzip $$file ;; \ 152 147 esac; \ 153 148 done -
scripts/scan-tools.sh
refcdba6 r1e977a4 181 181 fi 182 182 183 if ! tar --version 2>&1 | fgrep 'GNU tar' >/dev/null 2>&1; then184 echo You must install GNU tar for now, sorry...185 echo this is horrid, I know, but it will be fixed RSN.186 exit 1187 fi188 189 183 #if ! which perl >/dev/null 2>&1; then 190 184 if [[ "$(which perl 2>/dev/null)" != /usr/bin/perl ]]; then -
target/linux/image/tgz.mk
refcdba6 r1e977a4 1 1 $(KDIR)/root.tar.gz: 2 tar - -owner=0 --group=0 -czf $@ -C $(KDIR)/root/ .2 tar -M uidgid -cf - -C $(KDIR)/root/ . | gzip -n9 >$@ 3 3 4 4 ifeq ($(BOARD),x86) -
tools/Makefile
refcdba6 r1e977a4 6 6 BUILD_SED_DEP:=sed-install 7 7 8 TARGETS:= $(BUILD_SED) ipkg-utils brcm-utils lzma8 TARGETS:=paxmirabilis $(BUILD_SED) ipkg-utils brcm-utils lzma 9 9 10 10 TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) … … 12 12 13 13 all: install 14 install: $(TARGETS_INSTALL)14 install: check-pax $(TARGETS_INSTALL) 15 15 clean: $(TARGETS_CLEAN) 16 17 check-pax: 18 @[ -e ${TOPDIR}/lbin/pax ] || \ 19 rm -f $(TOOLS_STAMP_DIR)/.tools_paxmirabilis-install 16 20 17 21 $(STAGING_DIR):
Note:
See TracChangeset
for help on using the changeset viewer.
