Log of /branches/freewrt_1_0/mk/build.mk
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: 3864 byte(s)
Diff to
previous 1625
• 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
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: 2951 byte(s)
Diff to
previous 744
remove autobuild and snapshot targets. snapshots and releases will be done with ib.sh
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/mk/build.mk
File length: 3327 byte(s)
Copied from:
branches/wbx-target-cleanup/build.mk revision 552
Diff to
previous 553
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
472 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 1 21:38:13 2006 UTC
(7 years, 6 months ago)
by
tg
Original Path:
trunk/freewrt/build.mk
File length: 3407 byte(s)
Diff to
previous 423
by request of wbx@ add a "licence boilerplate" which can (or should,
or ought to) be added to (almost) any file in the repository, to pre-
vent companies who only check out part of the sources from thinking
it's unlicenced, public domain or whatever.
Please use the template as shown in build.mk or here:
----- cutting here may damage your screen surface -----
# $FreeWRT$
#-
# This file is part of the FreeWRT project. FreeWRT is copyrighted
# material, please see the LICENCE file in the top-level directory
# or at http://www.freewrt.org/license for details.
----- cutting here may damage your screen surface -----
at the top of the file (after a shebang line, if required).
Both this "boilerplate" and the according change to the website
have been okay'd by wbx@ as well as this textual change itself.
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/build.mk
File length: 3444 byte(s)
Diff to
previous 232
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
194 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 12 20:09:11 2006 UTC
(7 years, 7 months ago)
by
wbx
Original Path:
trunk/freewrt/build.mk
File length: 3401 byte(s)
Diff to
previous 183
move tools like sed, trx, lzma, which does not belong to the toolchain (gcc,binutils,gdb,libc) to a separate directory, all stuff is compiled with the host compiler
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/build.mk
File length: 4115 byte(s)
Diff to
previous 62
* 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
62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 13 12:36:59 2006 UTC
(7 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/build.mk
File length: 4081 byte(s)
Diff to
previous 55
uClibc is not part of the toolchain, even if it's
contained in the toolchain/ directory, so it doesn't
build with CC=$(HOSTCC), change that and don't pass
it the variables (even if CC=$(TARGET_CC) is passed,
it doesn't build - but then, uClibc's build system
is so broken in other regards...)
Full build (make v) succeeded on GNU/Linux:
-rw-r--r-- 1 tg freewrt 4706440 Jun 13 14:32 make.log
Didn't attach the build log because of its sheer size ;)
Bug catched by wbx@
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/build.mk
File length: 4126 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/build.mk
File length: 4125 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/build.mk
File length: 4546 byte(s)
Diff to
previous 41
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]
Modified
Sun Jun 11 15:28:26 2006 UTC
(7 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/build.mk
File length: 4320 byte(s)
Copied from:
trunk/freewrt/Makefile revision 40
Diff to
previous 40
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.