Log of /branches/freewrt_1_0/Makefile
Parent Directory
|
Revision Log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.