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

Parent Directory Parent Directory | Revision Log Revision Log


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

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: 5468 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: 4848 byte(s)
Diff to previous 3082
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 3082 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 2 15:56:27 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4848 byte(s)
Diff to previous 3079
building linux cross from !linux surely isn't trivial


Revision 3079 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 2 15:43:49 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4664 byte(s)
Diff to previous 2841
make linux builds verbose


Revision 2841 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 18 15:23:17 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4652 byte(s)
Diff to previous 2792
more ulmen stuff
todo: move conflicts from generic-2.6/ to generic-2.6.19.1/


Revision 2792 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 14 11:13:38 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4544 byte(s)
Diff to previous 2791
err, do it right

Revision 2791 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 14 11:04:05 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4514 byte(s)
Diff to previous 2754
also here: clean up before re-extracting, like kernel-headers


Revision 2754 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 9 12:21:41 2007 UTC (6 years, 8 months ago) by ulmen
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4444 byte(s)
Diff to previous 2736
Fix kernel distfile fetching, closes ticket #323


Revision 2736 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 8 01:08:29 2007 UTC (6 years, 8 months ago) by n0-1
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4441 byte(s)
Diff to previous 2727
this call to objcopy apparently breaks kernel 2.6

using mipsel-linux-nm, there are no symbols found in vmlinuz,
so (at least some) kernel modules refuse to load.
I have no idea (TM) why this obviously works vor kernel 2.4.


Revision 2727 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 6 12:33:36 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4414 byte(s)
Diff to previous 2687
“echo -e” is not portable, damnit!


Revision 2687 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 4 11:14:08 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4394 byte(s)
Diff to previous 2679
• mysql: switch to update-patches
• *.mk: fix update-patches ./. checksum


Revision 2679 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 4 10:19:46 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4399 byte(s)
Diff to previous 2678
experimental/untested: quell “CFLAGS not honoured” warning during kernel builds
(wbx@ says we shouldn't try to make the linux kernel use our own CFLAGS as this
will probably break it, so bad is the quality of such code…)


Revision 2678 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 29 14:04:00 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4192 byte(s)
Diff to previous 2596
the treebreaker ☺

overhaul the fetch'n'checksum system to be more bsd-like
• make fetch, make checksum supported
• future expansion possibilities already prepared:
  – more distfiles than just one
  – check sizes of downloaded files (size matters!!!!!111)
  – more hashes than just MD5
  – recursive fetch/checksum targets
  – PERMIT_{SOURCES,DISTFILES}=Yes/«reason» – licence issues
• download.pl dies

quirks:
• GNU make only has a poor excuse for a .for loop
• some things (esp. toolchain and target/linux) now have
  a ${WRKDIR} where they didn't have it before
• ${WRKDIR}/.checksum_done – no comment… it was necessary
  because otherwise everything will get rebuilt every time
  (did I mention that GNU make sucks?)
• I had troubles tracking the dependency problems down
  because GNU make, unlike BSD make, doesn't have good debugging
• DISTFILES -> FULLDISTFILES
• DL_DIR -> DISTDIR
• PKG_SOURCE -> DISTFILES
• PKG_SOURCE_URL -> MASTER_SITES
• no @SF and @GNU any more, use BSD network.template syntax
  (feel free to add more master sites)
• GNU make doesn't really strip whitespaces from variables…
  (did I mention how much better BSD make is?)
• echo 'LOCAL_DISTFILES=/path/to/distfiles' >>${TOPDIR}/prefs.mk
  will save the need to download 'em, Closes: #102
• MASTER_SITES now *must* have the trailing slashes (there may be
  a few that don't and a few with double ones, please fix them)

I've tested that a normal build (unchanged .config from the default) works
on GNU/Linux. There's definitively room for improvement, but most of that
will come with the NFO system only. Fixes appreciated.

This work sponsored by AurISP, part of the NFO conversion project ☻


Revision 2596 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 22 11:51:19 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4373 byte(s)
Diff to previous 2585
run some more scripts with ${MBSH}


Revision 2585 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 21 13:40:57 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4373 byte(s)
Diff to previous 2559
these shall not be executable nor use absolute pathnames,
since perl doesn't always live in /usr/bin (e.g. NetBSD®)


Revision 2559 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 20 12:34:54 2007 UTC (6 years, 9 months ago) by wbx
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4368 byte(s)
Diff to previous 2504
activate nfs for netgear, AVOID MTD UPDATES, IT WILL KILL YOUR NETGEAR, WILL BE FIXED SOON

Revision 2504 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 14 11:55:48 2007 UTC (6 years, 9 months ago) by wbx
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4248 byte(s)
Diff to previous 2322
*tada*
complete rework of the kernel and kernel module build process.
more modular, very fast and simple (perl free implementation TM)

 * only choosen drivers are compiled in the ADK, significant faster
   compiles (just 10 minutes for a basic image on my X40 notebook for
   a WL500gp)
 * if the user changes something in the ADK, thats not a problem, new
   drivers are automatically compiled on next make run
 * only one simple "kernelconfig" for every board-kernel combination
 * two kind of configuration symbols:
   - FWRT_KERNEL prefix, for kernel features without packages
   - FWRT_KPACKAGE_KMOD prefix for kernel features or drivers with packages
 * very simple to add new drivers to the ADK, just add stuff to 
   target/linux/config/Config.in.* and mk/modules.mk
 * rebuild of firmware images without make clean if you change model/board
   (nearly, one bug with base-files still exist)
 * autogenerated ipkg control files  
 * first cleanup of special netfilter/iptables scripts (netfilter.mk is
  obsolete)
 * New menuconfig point ADK (for ccache, toolchain stuff, prefix,...)
 * package collection is disabled for now, it seems unmaintained. it is better
   to only have this in WIB, in my point of view
   
What is missing:
 * pcmcia support and tests on Linksys WRT54G3G
 * ip6tables 2.4/2.6
 * ebtables for 2.6
 * iptables package 
 * dependencies for shorewall/fwfirewall/iptables package
 * documentation for the developer handbook

Please test and report bugs!
 




Revision 2322 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 2 22:17:37 2007 UTC (6 years, 10 months ago) by wbx
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 4420 byte(s)
Diff to previous 2295
time to break trunk. 

* update to OpenWrt brcm-2.4 patch, wl driver and diag driver
* fix failsafe mode to use new hotplug method
* rework of mk/kernel-build.mk to use .config instead of stampfiles
* simplify mk/kernel*.mk to use $(FS) instead ifeq/else crap

a lot of small stuff.

tested and verified to boot at least on 
- Netgear WG634u
- Linksys WRT54GS v1.0
- Asus WL500gP

Only basic lan and wlan stuff (none encryption, wep) are tested.

PLEASE update only on NON-PRODUCTIVE routers with serial access.
HELP to test the new backend code for BRCM-2.4!



Revision 2295 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 27 14:40:00 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5690 byte(s)
Diff to previous 2290
more from the “coolz” departement:
• get rid of dependency on external ipkg and python stuff
• one distfile less too ;)
• while here, remove executable bits on more shell scripts

tested with a defaultconfig full bootstrap (cleandir+v)


Revision 2290 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 27 12:30:13 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5675 byte(s)
Diff to previous 2211
• preserve hardlinks
• in the duplicate-file check, don't treat hardlinks as duplicates

finally *whew*


Revision 2211 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 20 16:21:41 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5665 byte(s)
Diff to previous 2205
commit part of the $PATH cleanup; this breaks in alsa (at least),
but a huge number of packages builds with it; I'll compile fixing
after I'm done with a change to the toolchain…


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/mk/kernel-build.mk
File length: 5663 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/mk/kernel-build.mk
File length: 5665 byte(s)
Diff to previous 1686
* 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 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/mk/kernel-build.mk
File length: 5699 byte(s)
Diff to previous 1368
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 1368 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 23 02:39:03 2006 UTC (7 years, 2 months ago) by n0-1
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5771 byte(s)
Diff to previous 1087
should have switched my brain on, this is what else has to be done to add a new target fs

Revision 1087 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 6 20:01:00 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5586 byte(s)
Diff to previous 1083
Applied corrections suggested by wbx and tg. The module
stuff is just search-and-replace, there may still be
syntactical errors (e.g. different module names) which
I want to correct as kernel integration advances.
Thx for cross-reading!


Revision 1083 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 6 16:37:30 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5587 byte(s)
Diff to previous 946
keeping compat to non-broadcom systems (as discussed with wbx)

Revision 946 - (view) (download) (annotate) - [select for diffs]
Added Tue Oct 17 00:10:39 2006 UTC (7 years, 4 months ago) by wbx
Original Path: trunk/freewrt/mk/kernel-build.mk
File length: 5463 byte(s)
mv target/linux/board-kernel/Makefile to mk/, add nfrastructure for brcm2.4s

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