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

SCM Repository

ViewVC logotype

Log of /branches/common-nfo/rules.mk

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3486 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 13 14:45:58 2007 UTC (6 years, 6 months ago) by tg
File length: 3159 byte(s)
Diff to previous 3427
better, much much better


Revision 3427 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File length: 3170 byte(s)
Diff to previous 3265
merge in trunk rev. 3426

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 3228 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 16 12:16:17 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 3084 byte(s)
Diff to previous 3125
if make menuconfig with empty .config don't bail out early


Revision 3125 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 4 11:39:54 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 3064 byte(s)
Diff to previous 3051
replace mkpasswd and /usr/bin/encrypt by portable md5crypt on
fwwif and mirmake basis; tested on GNU/Linux for now


Revision 3051 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 1 00:50:08 2007 UTC (6 years, 7 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 3171 byte(s)
Diff to previous 2996
add some more no_kernel architectures, some are verified, some not, i get some new hardware soon, to verify the toolchain and some packages :}

Revision 2996 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 28 14:14:45 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2957 byte(s)
Diff to previous 2993
there is no ${FWRT_WGET} or ${WGET}


Revision 2993 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 28 14:04:33 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 3001 byte(s)
Diff to previous 2984
GNU make sucks. Its handling of whitespace just plainly sucks.
It sucks so much that it can pull whales through nanotubes.


Revision 2984 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 28 12:46:44 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2928 byte(s)
Diff to previous 2905
this might fix bsd make (mkdep(1)) with ccache


Revision 2905 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 26 02:18:40 2007 UTC (6 years, 8 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 2919 byte(s)
Diff to previous 2840
no_kernel target for xscale cpu, like horstbox

Revision 2840 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 18 15:01:55 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2867 byte(s)
Diff to previous 2789
add some special-casing, requested by ulmen@


Revision 2789 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 14 08:38:37 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2802 byte(s)
Diff to previous 2662
simplify kernel version selection
this code depends on Config.in always defining either
FWRT_LINUX_2_4 xor FWRT_LINUX_2_4 to 'y'


Revision 2662 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 24 14:38:24 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 3066 byte(s)
Diff to previous 2591
look better


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 2462 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 8 10:31:44 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2992 byte(s)
Diff to previous 2461
• strip the value of FWRT_JLEVEL off spaces
• setting FWRT_JLEVEL to -1 will make the number unlimited

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 2360 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 15 13:56:41 2007 UTC (6 years, 10 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 2781 byte(s)
Diff to previous 2278
introduce FWRT_DEVEL to mark platforms/boards which are not ready for release

Revision 2278 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 27 10:18:08 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2718 byte(s)
Diff to previous 2222
provide host CFLAGS, CPPFLAGS, LDFLAGS in more than one way to the
scripts etc. – assists in fixing nfs-utils


Revision 2222 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 21 19:19:44 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2688 byte(s)
Diff to previous 2213
• revert the addition of “build gmake as part of tools“, it had too
  many problems
• for now, gmake 3.81 IS REQUIRED
• clean up


Revision 2213 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 17:09:59 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2221 byte(s)
Diff to previous 2210
fix relative./.absolute pathname issue, my bad


Revision 2210 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 16:12:40 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2211 byte(s)
Diff to previous 2209
okay, this sucks…


Revision 2209 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 14:28:37 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2733 byte(s)
Diff to previous 2208
oops

Revision 2208 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 14:19:04 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2733 byte(s)
Diff to previous 2205
try to work around hen-egg problem, sorry dnehring@, please continue to test this, I cannot

Revision 2205 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 12:52:56 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2688 byte(s)
Diff to previous 2150
* no reason to use gmake 3.80 compatible cruft now
  XXX someone please double-check base-files-arch/Makefile
* whitespace cleanup *sigh*


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 2055 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 17 23:00:17 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2651 byte(s)
Diff to previous 2050
unbreak running e.g. make menuconfig without .config already
existing, I broke it in -r2049, thanks to dnehring@ for noticing

if this should still be triggered someplace, contact me


Revision 2050 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 17 20:28:41 2007 UTC (7 years ago) by dnehring
Original Path: trunk/freewrt/rules.mk
File length: 2313 byte(s)
Diff to previous 2049
Mmh, saturday evening, still no beer.


Revision 2049 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 17 20:08:49 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 2283 byte(s)
Diff to previous 1755
fix up the ${UNAME_*} mess for non-2.4-mipsel targets
(besides mipsel and i386, other targets may be added later)

kernel upgraders: the version number is now set in rules.mk!


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 710 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 24 22:45:44 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 1646 byte(s)
Diff to previous 707
add -fno-ident, on the host too (I wonder what host-built
files get into the target... libgcc probably)


Revision 707 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 24 22:42:22 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 1577 byte(s)
Diff to previous 672
optimise for size by default

even so, everything is much much larger than on i386-bsd,
is that the libraries, the compiler or the platform's fault?


Revision 672 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 23 20:23:02 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 1515 byte(s)
Diff to previous 588
add an extra option in menuconfig for your own prefix for 
firmware image files. useful if you develop your own appliance 
based on freewrt buildroot. 



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 422 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 26 12:08:02 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/rules.mk
File length: 1271 byte(s)
Diff to previous 360
fix for Ticket #50

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 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/rules.mk
File length: 1267 byte(s)
Diff to previous 343
speed up build and ease transition to BSD make by determining
HOST_ARCH during make prereq and cacheing it in prereq.mk too


Revision 343 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:28:26 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 1638 byte(s)
Diff to previous 341
move off everything which can be done by both BSD and GNU make into vars.mk
and shuffle rules.mk appropriately


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/rules.mk
File length: 4477 byte(s)
Diff to previous 340
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 340 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:14:32 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4423 byte(s)
Diff to previous 329
make this more readable

only whitespace and comment changes


Revision 329 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 19:33:30 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4193 byte(s)
Diff to previous 328
build mkpasswd on GNU/Linux host only, use BSD encrypt(1) otherwise


Revision 328 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 19:31:26 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4137 byte(s)
Diff to previous 319
without this patch, mkpasswd cannot ever have worked on GNU/Linux even


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 315 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 00:54:30 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4079 byte(s)
Diff to previous 309
abort on unknown file extension


Revision 309 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 21 00:27:26 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4014 byte(s)
Diff to previous 302
remove more dead code, and fix my fix to gcom's Makefile...
of course you set WRKSRC not WRKBUILD


Revision 302 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 20 23:17:50 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4081 byte(s)
Diff to previous 300
almost entirely revert r296
more "cleanup after wbx" follows, after discussion in IRC


Revision 300 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 20 18:38:56 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4084 byte(s)
Diff to previous 296
fix tools directory, after changing WRKDIR, repack lzma package, i hate packages without subdirectory, cleanup makefiles

Revision 296 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 19 23:31:17 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4056 byte(s)
Diff to previous 277
fix extracting of zip files

Revision 277 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 17 15:40:48 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/rules.mk
File length: 4040 byte(s)
Diff to previous 254
- added 'tbz2' as extension to extract uClibc++ properly

Revision 254 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 23:01:14 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4031 byte(s)
Diff to previous 231
add INSTALL_* variables for execution of install, instead of cp/mkdir

Revision 231 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 18:43:39 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 3946 byte(s)
Diff to previous 228
remove tar verbosity

requested by and on behalf of wbx@


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/rules.mk
File length: 4006 byte(s)
Diff to previous 200
switch to paxmirabilis

ok wbx@

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


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 157 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 30 19:02:45 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 3575 byte(s)
Diff to previous 152
- add hardware profiles, you can choose between different
 hardware models
- add some alsa patches
- remove default stuff



Revision 152 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 19 13:13:39 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4229 byte(s)
Diff to previous 144
nuke DISABLE_NLS, DISABLE_LARGEFILE, replace globally
with --disable-nls and --enable-largefile, because it
doesn't make sense otherwise and/or breaks.

Requested by wbx@ in Message-ID: <20060618220406.GL6291@openbsd-geek.de>
Done using find and ed(1)



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 141 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 23:42:39 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4476 byte(s)
Diff to previous 140
fix ppp, use these target-specific variables instead of the host config



Revision 140 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 23:39:52 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4445 byte(s)
Diff to previous 139
export kernel version and arch for target



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/rules.mk
File length: 4299 byte(s)
Diff to previous 129
this is not linux, er kansas, any more


Revision 129 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 22:08:00 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4340 byte(s)
Diff to previous 127
oops, tired eyes


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 117 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 19:51:38 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4348 byte(s)
Diff to previous 116
use explicit path to tar

requested by wbx@


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 108 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 17:47:03 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4253 byte(s)
Diff to previous 106
we need to use uid 0, not root, because bsd has a wheel group
with gid 0, not a root group.



Revision 106 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 17:00:01 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4220 byte(s)
Diff to previous 103
for now (as we require GNU tar), quell the tar ./. pax distinguishion

agreed wbx@



Revision 103 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 18 16:38:41 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4216 byte(s)
Diff to previous 73
remove obsolete bash comments


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 61 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 13 12:16:31 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4214 byte(s)
Diff to previous 57
add ${SET_DASHX}, expands to 'set -x' if V>=50,
'true' otherwise, for use in tracing down hard
to find buglets in the build system



Revision 57 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 13 11:07:00 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/rules.mk
File length: 4126 byte(s)
Diff to previous 43
remove redundant line,
$(HOSTCC) is already set by Makefile



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/rules.mk
File length: 4138 byte(s)
Diff to previous 41
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 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)



Revision 39 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 09:56:23 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4043 byte(s)
Diff to previous 1
remove sstrip, it does not gain so much and complicates portability and debugging, make gcc 3.4.4 default

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Sat May 27 15:00:14 2006 UTC (7 years, 9 months ago) by wbx
Original Path: trunk/freewrt/rules.mk
File length: 4011 byte(s)
add OpenWrt trunk revision 3830. 



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