Felix Fietkau
8a6e77c006
fixes for refresh/update handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
Felix Fietkau
8d169cc962
Refactor downloading code into download.mk
...
Support multiple file downloads
Support svn downloads
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Felix Fietkau
52da073acc
properly clean up after kernel_{old,menu}config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 00:14:37 +00:00
Felix Fietkau
78de618cde
fix kernel_menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 01:04:57 +00:00
Felix Fietkau
6bcd07afdd
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau
92558d67a4
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
Nicolas Thill
1fb234e5c4
include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
Felix Fietkau
d10a56dc58
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau
c29e126571
fix image installation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-03 01:21:41 +00:00
Felix Fietkau
0e7a726728
silence
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:04:24 +00:00
Felix Fietkau
03ffe176e5
next round of cleanup, convert target/ - make -j works now ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Felix Fietkau
4205ec3e01
more dependency fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:41:33 +00:00
Felix Fietkau
64e1715894
prevent the new config changes from interfering with kernel_menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 12:05:59 +00:00
Felix Fietkau
cbd55fe6d7
dynamically enable/disable kernel config options for kmod packages based on build system config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
Felix Fietkau
a9bc57f16e
add kernel_oldconfig target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 10:03:03 +00:00
Felix Fietkau
b70ced7eab
kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 05:28:13 +00:00
Felix Fietkau
35aad8dc94
merge the kernel config parts at dump time, so that overrides that disable certain features work
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:49:25 +00:00
Felix Fietkau
f46b6a0195
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
Felix Fietkau
773d1fc4f6
implement quilt handling for the kernel tree ... and there was much rejoicing!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:28:05 +00:00
Felix Fietkau
ae8db89239
fix pcmcia/pccard build defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-19 16:16:48 +00:00
Felix Fietkau
c6eb15e481
Improved autorebuild for kernel related stuff.
...
- make modules_install in the kernel tree is no longer called
- make modules is called on every target/compile run
- kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
Felix Fietkau
20453a1fde
remove reference to unused .kernel.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 21:39:30 +00:00
Felix Fietkau
f169bffb5f
trigger a kernel module rebuild when the kernel config changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 17:05:26 +00:00
Felix Fietkau
ca098282b6
move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:54 +00:00
Felix Fietkau
1b3722a5f8
some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 14:48:47 +00:00
Felix Fietkau
ae39d6a370
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Felix Fietkau
6206e86514
fix an error in the kernel image related commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 21:07:53 +00:00
Felix Fietkau
d60f254616
kernel build cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:24:20 +00:00
Felix Fietkau
473fc68bd2
fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-23 03:45:46 +00:00
Felix Fietkau
c5367e59ac
fix a small bug in the order of the profile metadata dump
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:54:52 +00:00
Felix Fietkau
2c938fe5b9
last commit was missing a change...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:47:00 +00:00
Felix Fietkau
800a95817d
Reorganize kernel configs - target/linux/*/config is now a directory.
...
./config/default will replace the old config and config-diff (format is like
config-diff, the full kernel config is no longer kept in the build system)
This commit removes all the kernel config stuff, the next one will add
the replacement - there's no way to do this atomically with svn.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:44:15 +00:00
Felix Fietkau
be61365315
make kernel_menuconfig work without target toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 17:28:22 +00:00
Felix Fietkau
b4f853be18
add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 16:59:44 +00:00
Felix Fietkau
d02d6519c4
Minor kernel build changes:
...
Change '[ -d ... ] && cmd' to 'if [ -d ... ]; then cmd; fi' to avoid make errors if the condition is false
If $(PLATFORM_DIR)/files exists, copy it into the kernel tree on prepare.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-04 19:36:11 +00:00
Felix Fietkau
1e61d2ea71
make spca5xx depend on video device support in the kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:02:01 +00:00
Felix Fietkau
599cf4f524
Add WL-700gE support (based on work by jr)
...
Includes kernel/diag patch and a new target profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 12:35:00 +00:00
Felix Fietkau
2adf3524cf
add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 02:30:36 +00:00
Felix Fietkau
20e0cf192f
store the default kernel version for our ports in a single place (target makefiles can still override it if necessary)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-25 09:12:57 +00:00
Florian Fainelli
ceea0e5508
Also build bzImage for rdc boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-23 14:27:06 +00:00
Felix Fietkau
c9b580af74
replace another instance of a relative path to generic-2.* with an absolute one (for symlinked target directories)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 22:23:51 +00:00
Felix Fietkau
ad1b040137
some platform support path name cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-18 18:30:29 +00:00
Felix Fietkau
604c8d7b3d
fix path to generic init file when using a symlinked target support directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-16 01:32:12 +00:00
Felix Fietkau
918d4e8027
more cleanup, build fix on freebsd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 03:56:45 +00:00
Felix Fietkau
ddcce99fc3
minor cleanup and freebsd compile fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-27 02:00:09 +00:00
Felix Fietkau
ef90a4e2f5
autodetect atm, pci, usb, pcmcia features from kernel config file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-19 20:30:11 +00:00
Felix Fietkau
25fe6a2e04
add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 21:12:18 +00:00
Felix Fietkau
768b48f380
implement target profiles in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau
19940017a3
make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 23:11:02 +00:00
Felix Fietkau
cbe69ab035
cleanup/rewrite of the kernel build process
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 06:20:55 +00:00