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/mk/build.mk

Parent Directory Parent Directory | Revision Log Revision Log


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

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 1625 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 17 15:06:20 2007 UTC (7 years, 1 month ago) by tg
File length: 3584 byte(s)
Diff to previous 1369
smallest possible fix for the bug reported in
Message-ID: <45ADE560.1010806@marcant.net>

this is fixed differently in trunk


Revision 1369 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 23 11:42:45 2006 UTC (7 years, 2 months ago) by wbx
File length: 3583 byte(s)
Diff to previous 1278
use shell script for package list

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: 3585 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: 3573 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: 3013 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: 2951 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: 3226 byte(s)
Diff to previous 702
create stable branch, feature freeze, please send svn diff patches to wbx

Revision 702 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 24 17:58:21 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/mk/build.mk
File length: 3226 byte(s)
Diff to previous 604
PR #86


Revision 604 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 16 16:31:47 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/mk/build.mk
File length: 3293 byte(s)
Diff to previous 588
revert the bad idea, if ncurses.h is missing you do not see the problem otherwise

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 553 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 2 18:58:57 2006 UTC (7 years, 5 months ago) by wbx
Original Path: branches/wbx-target-cleanup/mk/build.mk
File length: 3327 byte(s)
Copied from: branches/wbx-target-cleanup/build.mk revision 552
Diff to previous 552
change build.mk to mk/

Revision 552 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 2 18:58:37 2006 UTC (7 years, 5 months ago) by wbx
Original Path: branches/wbx-target-cleanup/build.mk
File length: 3327 byte(s)
Diff to previous 508
change build.mk to mk/

Revision 508 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 9 20:16:04 2006 UTC (7 years, 6 months ago) by wbx
Original Path: branches/wbx-target-cleanup/build.mk
File length: 3324 byte(s)
Diff to previous 493
make a branch for cleaning up the target dir to a more clear and simple state

Revision 493 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 2 21:04:55 2006 UTC (7 years, 6 months ago) by wbx
Original Path: trunk/freewrt/build.mk
File length: 3324 byte(s)
Diff to previous 492
realizes autobuild target, non-interactive

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/build.mk
File length: 3227 byte(s)
Diff to previous 472
add autobuild, still busybox need to be excluded in any good way. no idea for that at the moment. remove unused stuff.

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 423 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 05:04:19 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/build.mk
File length: 3469 byte(s)
Diff to previous 374
hide some warnings and output

Revision 374 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 18:25:43 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/build.mk
File length: 3496 byte(s)
Diff to previous 360
we need install-lbin before .config exists, too


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 232 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 16 18:59:38 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/build.mk
File length: 3441 byte(s)
Diff to previous 194
add a by-package prerequisite check

idea by wbx@, code by me


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 183 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 9 17:37:34 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/build.mk
File length: 3169 byte(s)
Diff to previous 157
add a short notice after configuring the system, suggestion by rob on the way to stuttgart, hacking in the train ;)

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/build.mk
File length: 3097 byte(s)
Diff to previous 73
- add hardware profiles, you can choose between different
 hardware models
- add some alsa patches
- remove default stuff



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 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/build.mk
File length: 4080 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/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)



Revision 40 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 11 14:38:47 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 4308 byte(s)
Diff to previous 32
change description title

Revision 32 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 10 12:59:40 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 4284 byte(s)
Diff to previous 28
make clean removes bindir

Revision 28 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 10 09:54:01 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/Makefile
File length: 4273 byte(s)
Diff to previous 1
disable toolchain options, dangerous settings, some OpenWrt -> FreeWRT conversion, remove some error messages about .defconfig

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/Makefile
File length: 4602 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