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
Felix Fietkau
145e0fced0
cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 05:01:04 +00:00
Felix Fietkau
4151b9e688
finally kill KMOD_template - removes a big chunk of legacy build code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 04:35:29 +00:00
Felix Fietkau
1f095900a2
improve parallel building
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 19:00:05 +00:00
Nicolas Thill
04cdf76fbf
fix uml-2.6 build, move KERNELNAME to kernel-build.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 13:16:44 +00:00
Felix Fietkau
8d1376dd1e
move '-' parameter to TAR_OPTIONS, so that packages can append commands
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 14:51:48 +00:00
Felix Fietkau
c55de00492
more fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 23:04:46 +00:00
Felix Fietkau
443d4b8726
put LINUX_KARCH in .kernel.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 13:41:00 +00:00
Felix Fietkau
8e1fd3261c
move $(MAKE) packages from .linux-compile: to compile:
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 13:22:42 +00:00
Gerry Rozema
db948ca4c2
Remove postinit stuff for initramfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 22:38:20 +00:00
Gerry Rozema
be9cf7f78a
handle postinit for initramfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 19:39:51 +00:00
Felix Fietkau
986d8ba19b
remove reference to missing file
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 14:44:30 +00:00
Gerry Rozema
e573f27c29
Update for initramfs handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 12:39:49 +00:00
Nicolas Thill
daa69f4ebf
cosmetic coherency fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 01:18:24 +00:00
Gerry Rozema
fe3afc62e8
Build bzImage for x86 builds - allow ext2 images even if initramfs used, they are needed for creating boot images
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-17 07:20:08 +00:00
Mike Baker
c3ccd3a1d0
fix issues if kernel config is changed after the compile has started
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-16 00:35:30 +00:00
Nicolas Thill
e0eceb4c86
fix uml-2.6 ( closes : #678 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 11:16:46 +00:00
Florian Fainelli
f761ee36c8
Force remove of the symbolic link build_arm/linux, especially when switching from targets using the same toolchain
...
(ex : switching from brcm-2.4 to au1000-2.6)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-05 00:55:41 +00:00
Mike Baker
2ffe012ebb
set PATH in rules.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 11:59:52 +00:00
Mike Baker
1dac4c1d16
yet more cleanup (make sure to honor TARGET_CC and not just TARGET_CROSS)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 06:23:47 +00:00