| 49 |
@echo ' (default if .config exists)' |
@echo ' (default if .config exists)' |
| 50 |
@echo ' v - Same as "all" but with logging to make.log enabled' |
@echo ' v - Same as "all" but with logging to make.log enabled' |
| 51 |
@echo ' slow - Same, but with sparse output for slow serial lines' |
@echo ' slow - Same, but with sparse output for slow serial lines' |
| 52 |
|
@echo ' targz|tarbz2 - Create a distribution tarball (runs distclean)' |
| 53 |
|
|
| 54 |
pkg-help: |
pkg-help: |
| 55 |
@echo 'Package specific targets (use with "package=<pkg-name>" parameter):' |
@echo 'Package specific targets (use with "package=<pkg-name>" parameter):' |
| 99 |
distclean: .prereq_done |
distclean: .prereq_done |
| 100 |
@${GMAKE_INV} distclean |
@${GMAKE_INV} distclean |
| 101 |
@-rm -rf lbin |
@-rm -rf lbin |
| 102 |
@-rm -f make.log .prereq_done |
@-rm -f make.log .prereq_done _pax* freewrt.tar.* |
| 103 |
|
|
| 104 |
image_clean: .prereq_done |
image_clean: .prereq_done |
| 105 |
@${GMAKE_INV} image_clean |
@${GMAKE_INV} image_clean |
| 201 |
@echo '===> Prerequisites checked successfully.' |
@echo '===> Prerequisites checked successfully.' |
| 202 |
@touch $@ |
@touch $@ |
| 203 |
|
|
| 204 |
.PHONY: prereq prereq-noerror |
_tarball: .prereq_done |
| 205 |
|
rm -f _pax* |
| 206 |
|
${GMAKE_INV} tools/paxmirabilis-compile |
| 207 |
|
install -c -m 555 tools_build/paxmirabilis/pax _pax |
| 208 |
|
${GMAKE_INV} distclean |
| 209 |
|
-rm -rf lbin |
| 210 |
|
-rm -f make.log .prereq_done freewrt.tar.* |
| 211 |
|
find . | \ |
| 212 |
|
grep -v -e '^.$$' -e '^./_pax' -e '^./prefs\.mk$$' -e '/\.svn' | \ |
| 213 |
|
sed -e 's#^\./##' | \ |
| 214 |
|
sort >_pax.flst |
| 215 |
|
|
| 216 |
|
targz: _tarball |
| 217 |
|
./_pax -w -b 512 -d -M dist -P -t -v -x ustar <_pax.flst | \ |
| 218 |
|
gzip -n9 >freewrt.tar.gz |
| 219 |
|
rm -f _pax* |
| 220 |
|
|
| 221 |
|
tarbgz2: _tarball |
| 222 |
|
./_pax -w -b 512 -d -M dist -P -t -v -x ustar <_pax.flst | \ |
| 223 |
|
bzip2 --best >freewrt.tar.bz2 |
| 224 |
|
rm -f _pax* |
| 225 |
|
|
| 226 |
|
.PHONY: prereq prereq-noerror _tarball targz tarbz2 |