Log of /branches/common-nfo/mk/kernel-build.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: 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
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
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
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
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
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!
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.