English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Log of /branches/freewrt_1_0/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2716 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 5 14:55:41 2007 UTC (6 years, 8 months ago) by tg
File length: 5628 byte(s)
Diff to previous 2715
package/base-files/.svn/entries is required for /etc/banner generation


Revision 2715 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 5 14:52:44 2007 UTC (6 years, 8 months ago) by tg
File length: 5575 byte(s)
Diff to previous 2383
• 1.0 -> scripts/param.h, paxmirabilis: MFC the new version from trunk
• both 1.0 and trunk: implement “make targz”, “make tarbz2”
  (I like the gzip(1)d versions better though)
• 1.0 -> package/config/Makefile: quieten the “clean” target to be consistent

Revision 2383 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 18 22:54:25 2007 UTC (6 years, 10 months ago) by wbx
File length: 4871 byte(s)
Diff to previous 1650
add help from trunk minus stuff which does not work in 1.0

Revision 1650 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 20 16:10:16 2007 UTC (7 years, 1 month ago) by tg
File length: 3925 byte(s)
Diff to previous 1278
* '%' as line addressing is a BSD extension to the text editor,
  which GNU ed 0.3+ doesn't support, but isn't listed in the
  ChangeLog relative to GNU ed 0.2 - use ',' instead
  bug cought by n0-1@
* correct line addressing of "TOPDIR:=..." line in prereq.mk


Revision 1278 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 7 21:40:18 2006 UTC (7 years, 2 months ago) by wbx
File length: 3925 byte(s)
Diff to previous 1246
some more stuff, snapshot build via ib.sh -s works again

Revision 1246 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 4 19:00:11 2006 UTC (7 years, 2 months ago) by wbx
File length: 3919 byte(s)
Diff to previous 851
remove All Collection, add snapshotconfig idea from trunk

Revision 851 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 4 18:13:54 2006 UTC (7 years, 4 months ago) by wbx
File length: 3701 byte(s)
Diff to previous 831
add some new targets and changes to ib.sh, to get a snapshot build

Revision 831 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 3 16:38:55 2006 UTC (7 years, 4 months ago) by wbx
File length: 3648 byte(s)
Diff to previous 744
remove autobuild and snapshot targets. snapshots and releases will be done with ib.sh

Revision 744 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 28 10:42:55 2006 UTC (7 years, 4 months ago) by wbx
File length: 4252 byte(s)
Diff to previous 679
create stable branch, feature freeze, please send svn diff patches to wbx

Revision 679 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 23 21:40:36 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4252 byte(s)
Diff to previous 677
we use the httpd redirect here, my bad, this is by design
and actually makes sense


Revision 677 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 23 21:30:52 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4262 byte(s)
Diff to previous 588
by request of markus@ communicated via wbx@, add new facilities:
$ make [V=99] package=mksh clean prepare compile install
$ gmake [V=99] subdir=tools/paxmirabilis clean prepare compile install

This works as follows: if ${subdir:-${package+package/${package}}} (in shell
syntax) is specified (you can only specify one subdirectory, and the package
variable has precedence over the subdir variable), all make targets specified
on the command (if any) are passed to a GNU make run in the subdirectory spe-
cified (packag/${package} or simply ${subdir}), relative to ${TOPDIR}, with
environment appropriately set and ${MAKEFLAGS} passed.

also, while here, recind the advertising clause on the top-level Makefile and
integrate this stuff with the new boilerplate (attn: licence URI adjusted);
the requirement to credit my name is contained in the GPL as well


Revision 588 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 12 18:11:35 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5543 byte(s)
Diff to previous 543
merge wbx-target-cleanup to trunk.
- mk directory for some top level makefiles (build.mk,vars.mk)
- add a separate configfs partition to all models, 128 kb big
- add model and platform specific startup files and kernel configs
- delete target/linux/package, add all addon kernel packages to packages
- simplify target/linux/brcm-2.4/Makefile, abstraction to mk/ comes later
- add target/image directory, place where the different images are created
- default off for all extra packages, be sure that you enable all packages
  you need to get a dsl-capable router. snapshots will be created by a specific config which contains all needed stuff (iptables, pppoe, pptp, haserl, webif)



Revision 543 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 22:53:47 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5540 byte(s)
Diff to previous 542
stupid typo, cought by wbx@


Revision 542 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 22:47:35 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5539 byte(s)
Diff to previous 541
wbx@ requested another iteration, per-filesystem.


Revision 541 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 22:32:08 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5416 byte(s)
Diff to previous 535
*sigh*

first I'm told conf -d is needed, then I'm told it overwrites .config...
remove it


Revision 535 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 22:06:18 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5492 byte(s)
Diff to previous 534
typo


Revision 534 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 21:59:49 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5492 byte(s)
Diff to previous 532
* .defconfig: remove superfluous commented-out targets
* build.mk: move some targets out of the if-have-.config
* build.mk, Makefile: hopefully fix wbx@' snapshot target
* Makefile: sync licence


Revision 532 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 17:52:27 2006 UTC (7 years, 6 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5266 byte(s)
Diff to previous 529
rename target, suggested by tg

Revision 529 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 24 12:39:50 2006 UTC (7 years, 6 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5268 byte(s)
Diff to previous 520
add first hackish parts of a snapshot target

Revision 520 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 14 22:12:09 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5218 byte(s)
Diff to previous 517
even better, use more relative pathnames,
causes less breakage when TOPDIR is a symbolic link ;)


Revision 517 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 14 21:49:25 2006 UTC (7 years, 6 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5200 byte(s)
Diff to previous 492
relativify TOPDIR in prereq.mk and make it the first line


Revision 492 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 2 20:37:51 2006 UTC (7 years, 6 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5052 byte(s)
Diff to previous 418
add autobuild, still busybox need to be excluded in any good way. no idea for that at the moment. remove unused stuff.

Revision 418 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 25 21:47:45 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5253 byte(s)
Diff to previous 360
hide output of find, add kernel packages to update-package

Revision 360 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 15:48:30 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5227 byte(s)
Diff to previous 356
as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_

tested with a standard build (only the squashfs
image since the jffs2 didn't get built)



Revision 356 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 14:03:29 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5226 byte(s)
Diff to previous 348
revert r348
described in Message-ID: <Pine.BSM.4.64L.0607221359490.32684@odem.66h.42h.de>


Revision 348 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 07:27:48 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 5192 byte(s)
Diff to previous 345
i think this is some leftover from yesterday's hacking session, seems to work without this line, verified with a build and reflash

Revision 345 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:32:33 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5226 byte(s)
Diff to previous 344
I guess I should use := instead of = in prereq.mk to benefit GNU make
also add GMAKE there, as MAKE can be both


Revision 344 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:31:18 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 5172 byte(s)
Diff to previous 342
speed up build and ease transition to BSD make by determining
HOST_ARCH during make prereq and cacheing it in prereq.mk too


Revision 342 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:19:19 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4798 byte(s)
Diff to previous 341
add TOPDIR to prereq.mk


Revision 341 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:16:13 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4746 byte(s)
Diff to previous 339
move the export line from prereq.mk to rules.mk and remove SHELL from it
since that's special (always use ${BASH} if you must) according to TFM


Revision 339 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:08:05 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4839 byte(s)
Diff to previous 241
sanitise the way tools which must be in lbin/ (currently,
sed and pax/cpio/tar, but there will be more...) are handled:
make prereq invokes a special recursive target install-lbin
which copies them from the staging dir into lbin if they exist
there (i.e. are already installed), or removes the install stamp
otherwise. the tools' install-lbin target does however duplicate
a little code, this could be done better but it works OK like this

also, add a missing include to brcm-utils and fix pax' clean target


Revision 241 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 20:04:03 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4805 byte(s)
Diff to previous 240
be quiet


Revision 240 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 20:01:34 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4802 byte(s)
Diff to previous 237
it gets even weirder with support for Darwin 7.9.0 ...


Revision 237 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 19:40:45 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4653 byte(s)
Diff to previous 228
the macintosh never ceases to amaze me... csh(1) which...


Revision 228 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 18:39:14 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4599 byte(s)
Diff to previous 161
switch to paxmirabilis

ok wbx@

NB: not yet totally tested, but if anything breaks I'll fix it today/tonight


Revision 161 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 1 23:33:03 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4720 byte(s)
Diff to previous 160
keep everything within 80 characters width


Revision 160 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 1 23:20:19 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 4702 byte(s)
Diff to previous 159
forgot one dollar escape

Revision 159 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 1 23:17:13 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 4702 byte(s)
Diff to previous 144
try some autobuild stuff

Revision 144 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 19 00:30:25 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4536 byte(s)
Diff to previous 139
use the GNU sed built by toolchain again, but prevent it
from picking up I18N support (causes it to segfault at
least under mirbsd - GNU libregex clashes)

ok wbx@



Revision 139 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 23:34:04 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4661 byte(s)
Diff to previous 127
this is not linux, er kansas, any more


Revision 127 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 21:48:14 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4568 byte(s)
Diff to previous 124
save the old $PATH as _PATH in 'make prereq',
so that it can be picked up later
please re-run 'make prereq' after this commit

hint: /usr/mpkg/bin/bash wasn't in the path

ok wbx@


Revision 124 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 21:23:45 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4529 byte(s)
Diff to previous 109
obviously, perl isn't compatible either. well, what did
you expect of trying to throw an espie?

on systems without sed --in-place in --help, use a shell
script which emulates that behaviour. (requires /usr/bin/sed)


Revision 109 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 18:05:47 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4404 byte(s)
Diff to previous 104
this is so horrifyingly cheap I cannot believe I'm committing this...

the lunox kernel makefiles are so unbelievably broken that
we cannot override $(HOSTCC) from gcc *EVEN IF SET* on the
gmake command line, so symlink $(HOSTCC) to lbin/gcc - for
now...

suggested by wbx@



Revision 104 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 16:46:54 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4371 byte(s)
Diff to previous 92
require GNU tar and install it as tar, for now

ok wbx@



Revision 92 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 14:54:03 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4250 byte(s)
Diff to previous 90
stupid GNU make incompatibility

noticed by js in IRC



Revision 90 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 14:46:03 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4233 byte(s)
Diff to previous 84
* have 'make prereq' and 'make prereq-noerror' be .PHONY
  targets, i.e. if they're called directly, they will be
  always remade; the other targets now depend on a regu-
  lar '.prereq_done' target to not redo the prerequisite
  checks unless needed
* do not call gmake with --no-print-directory if verbose

ok wbx@



Revision 84 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 11:04:59 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 4007 byte(s)
Diff to previous 83
expose $BASH too

ok wbx@


Revision 83 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 10:59:10 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3956 byte(s)
Diff to previous 81
tell gmake to use GNU bash

ok wbx@



Revision 81 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 10:42:25 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3903 byte(s)
Diff to previous 78
after creating prereq, tell the user it's done

ok wbx@



Revision 78 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 09:58:12 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3853 byte(s)
Diff to previous 76
On Debian, gmake 3.80 "seems to be" enough.
Allow the user to override the version check,
point to the FAQ.

requested by and "okay, cool" wbx@



Revision 76 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 09:49:58 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3772 byte(s)
Diff to previous 75
Check some of the prerequisite tools (WIP, more to come)
* that bash exists and works
* that GNU make and a host compiler (gcc) exist
* that we can run a compiled test programme (for the host)
* the GNU make version number

ok wbx@



Revision 75 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 09:31:00 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3743 byte(s)
Diff to previous 73
Require, sadly, GNU bash to be installed before proceeding.

"sehr schön" wbx@


Revision 73 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 16 20:53:08 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3595 byte(s)
Diff to previous 67
* instead of using a $(VARS_TO_PASS) write the variables into a
  *.mk include file, so that people can cd to some package direc-
  tory and invoke gmake directly
* fake OpenBSD as uname for MirBSD, so that we get a little further
  in the build process there (stops at linux requiring bash now)

Tested with a full build (standard config) on Linux.
Invoking gmake in a subdirectory *not* tested, but
that didn't work before at all, so it's not a problem.



Revision 67 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 16 07:41:06 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 3147 byte(s)
Diff to previous 64
quiet build

Revision 64 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 16 06:11:56 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 3134 byte(s)
Diff to previous 60
set --no-print-directory for make calls, so that non-verbose is really non-verbose

Revision 60 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 13 11:34:33 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3109 byte(s)
Diff to previous 59
prepend a blank line and a descriptive line with date
to a continuation of 'make.log' to make it easier to
follow



Revision 59 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 13 11:18:44 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3046 byte(s)
Diff to previous 58
resolve a bad interaction between shell quoting
and shell evaluation of inside commands in the
$(HOSTCFLAGS) determination algorithm

it's a pity we have to be compatible to a lowest
common denominator of make and sh for all systems...



Revision 58 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 13 11:12:15 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 3070 byte(s)
Diff to previous 56
change 'make v' target, which was the same as 'make verbose',
to additionally append standard output and error (i.e. a full
build log) to a 'make.log' file; svn:ignore the make.log file



Revision 56 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 23:24:53 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2987 byte(s)
Diff to previous 55
copy this:
 # Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
 LC_ALL:= C
from package/config/Makefile; I think it's a good idea to
normalise behaviour on systems which do support locales,
because e.g. in Spanish locales, sort order varies, etc.
and that introduces hard-to-find bugs (non-locale-aware
operating systems such as OpenBSD not affected).


Revision 55 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 23:18:55 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2978 byte(s)
Diff to previous 54
provide sensible defaults (-O2) for systems with no default CFLAGS
tested on lunox

note: this also, as a not unwelcome side effect, changes the
default flags used for builds from "-g -O2" to "-O2" on the
standard GNU installation (and "-O2 -pipe" on OpenBSD, I
think). More flags (e.g. debugging) can and will be added
later.



Revision 54 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 23:09:53 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2974 byte(s)
Diff to previous 48
Correctly determine HOSTCC and HOSTCFLAGS (from host make)
and pass them as CC/CFLAGS to the toolchain as well.

Now this at least goes as far as I suspected the first
breakage would be (on MirBSD) - autotools.

Detecting works by invoking $(MAKE) with a BSD-specific
makefile and just using $(HOSTCFLAGS) if that fails.
This works better on OpenBSD too, FWIW.



Revision 48 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 21:06:20 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 2758 byte(s)
Diff to previous 46
cosmetic changes to Makefile/build.mk
remove configtest.pl
cosmetic changes in freewrt/toolchain/sed/Makefile, add md5sum



Revision 46 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 17:22:50 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2749 byte(s)
Diff to previous 43
change target distclean to also remove the download area
(distclean = "as clean as if we were making a distfile")

new target cleandir removes everything removed by distclean
except the configuration and downloaded distfiles
(cleandir = clean + toolchain directories)

removed target dirclean, replaced by ordinary clean target
(clean = clean packages, bindir, builddir)

ok wbx@



Revision 43 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 16:29:15 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2720 byte(s)
Diff to previous 42
use pax to extract if it exists, instead of tar,
because it handles certain archives created by
GNU tar better (on BSD), no change on Linux

ok wbx@



Revision 42 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 15:57:06 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2686 byte(s)
Diff to previous 41
add 'make verbose' target

ok wbx@



Revision 41 - (view) (download) (annotate) - [select for diffs]
Added Sun Jun 11 15:28:26 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/Makefile
File length: 2646 byte(s)
Initial cut at supporting FreeWRT builds under other operating
systems (MirOS BSD, OpenBSD, probably the other BSDs as well;
Mac OSX and Cygwin to come)

The basic idea is:
* the old GNU make "Makefile" is renamed to "build.mk"
* a wrapper Makefile which uses neither GNU nor BSD make
  features calls GNU make with -f build.mk
* the wrapper Makefile also checks for prerequisite
  tools (as of now: existence of gmake and md5sum)
  and their versions (not yet, but that's why it's
  being used on GNU/Linux as well)
* scripts/md5sum.bsd uses BSD cksum(1) to generate
  GNU md5sum compatible output (only when the arguments
  are files; no options are supported)
* GNU make is symlinked into ./lbin/; md5sum.bsd is
  copied there if needed; ./lbin/ is prepended to
  $PATH for gmake -f build.mk invocations
* make distclean removes prerequisites (and lbin)



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20