Log of /branches/common-nfo/rules.mk
Parent Directory
|
Revision Log
Revision
3265 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 18 12:45:43 2007 UTC
(6 years, 7 months ago)
by
tg
File length: 3084 byte(s)
Diff to
previous 3228
copy trunk/freewrt r3264 into a new branch for making the nfo system
because upgrading the old adk branch would be a hell more work
Revision
2591 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon May 21 14:28:15 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 2994 byte(s)
Diff to
previous 2462
by request of wbx@:
sort out the mess we had in ${TOPDIR}/staging_dir_${ARCH} and introduce
some new variables:
• ${STAGING_DIR} stays the same, but has a different location now
• ${STAGING_TOOLS} is where executables for the host system go
• ${STAGING_PARENT} is ${TOPDIR}/cross_${ARCH} and has three (at
the moment) subdirectories: host (i.e. STAGING_TOOLS), target
(i.e. STAGING_DIR) and pkg (used by package.mk, pkg-bottom.mk)
but is an internal-use-only variable - please don't use it.
this builds through with a non-default config; more testing will follow
Revision
2461 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue May 8 10:24:49 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 2931 byte(s)
Diff to
previous 2360
• bring back the ability to do parallel makes as before, but
actually depending on the config symbol FWRT_JLEVEL being
not empty, 0 or 1
• while here, $V defaults to 99 since a few weeks
Revision
2150 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 11 20:25:45 2007 UTC
(6 years, 11 months ago)
by
ulmen
Original Path:
trunk/freewrt/rules.mk
File length: 2718 byte(s)
Diff to
previous 2055
* readd ccache functionality
* fix ccache issue with openssl
* fix ccache issue with libpri
* kernel is now also build explicit with CC="$(TARGET_CC)", thus it's ccached
* drop unnecessary sed call in kernel-build.mk while there
Revision
1755 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 25 21:03:24 2007 UTC
(7 years, 1 month ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 1686 byte(s)
Diff to
previous 1753
the already-existing global ${HOSTCFLAGS} was not used when
determining ${HOST_CFLAGS} from ${CFLAGS} and setting a default;
use it (so that HOSTCFLAGS = HOST_CFLAGS) and the defaults
Revision
1753 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 25 19:56:53 2007 UTC
(7 years, 1 month ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 1748 byte(s)
Diff to
previous 1686
* we override LC_ALL (already), no need to do it twice
* LANG is overridden by LC_ALL anyway
* on some systems, GNU dcgettext overrides LC_ALL with
LANGUAGE, so we force-set that to 'C' as well
Revision
1686 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 20 21:21:59 2007 UTC
(7 years, 1 month ago)
by
n0-1
Original Path:
trunk/freewrt/rules.mk
File length: 1739 byte(s)
Diff to
previous 710
merged from branches/common-adk 1310:1685
the following packages are not converted yet:
* alsa
* asterisk
* pmacct
* zaptel
* elinks
* libgd
* lua
* mypackage
* openser
* php*
* snort*
* tmsnc
additionally, freeradius doesn't compile.
happy fixing :P
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/rules.mk
File length: 1463 byte(s)
Diff to
previous 472
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/rules.mk
File length: 1460 byte(s)
Diff to
previous 422
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/rules.mk
File length: 1270 byte(s)
Diff to
previous 344
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
319 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 21 01:33:54 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 4090 byte(s)
Diff to
previous 317
use the tar frontend instead of the cpio frontend for extracting here
saves calls to zcat and redirection, besides, paxmirabilis maybe will
be able to do direct gzio soonish
Revision
317 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 21 01:07:47 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 4107 byte(s)
Diff to
previous 315
let it autodetect the LZMA path
(another reason to use BSD: there you simply use
$ mmake show=VARNAME
in the MirPorts Framework, or
$ make ___DISPLAY_MAKEVARS=VARNAME
in mirmake but without any support from any *.mk include)
Revision
200 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 16 14:53:28 2006 UTC
(7 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 4155 byte(s)
Diff to
previous 194
* new variables WRKDIR, DISTFILES (similar to MirPorts Framework)
default to ${PKG_BUILD_DIR} and ${DL_DIR}/${PKG_SOURCE}, respectively,
for the package/ case (more to come)
* instead of PKG_CAT and friends use an EXTRACT_CMD similar to
the EXTRACT_CASES variable of MirPorts, only simpler
not tested yet, will do that ASAP
ok wbx@
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/rules.mk
File length: 3653 byte(s)
Diff to
previous 157
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
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/rules.mk
File length: 4383 byte(s)
Diff to
previous 141
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/rules.mk
File length: 4321 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/rules.mk
File length: 4361 byte(s)
Diff to
previous 117
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
116 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 18 19:47:54 2006 UTC
(7 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 4333 byte(s)
Diff to
previous 112
Our host sed(1) apparently is not enough. Some day, I will
butcher the person who added -i ("in-place edit") to GNU
sed - ed(1) is the tool to do THAT!
Use 'perl -pi' instead of 'sed -i' on BSD *sigh* hoping the
syntax is loosely compatible.
Revision
112 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 18 19:32:09 2006 UTC
(7 years, 8 months ago)
by
tg
Original Path:
trunk/freewrt/rules.mk
File length: 4331 byte(s)
Diff to
previous 108
Do not use the GNU sed just built at all on BSD.
We believe our host sed(1) is good enough; the
GNU one has "issues" at least on MirBSD...
GNU sed build will be made dependent on this later.
agreed 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/rules.mk
File length: 4247 byte(s)
Diff to
previous 61
* 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
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/rules.mk
File length: 4028 byte(s)
Diff to
previous 39
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.