Commit Graph

105 Commits (6a44e4ebac998e12bab9a3f1a3192f003dc6eb1c)

Author SHA1 Message Date
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
Mike Baker ad8fe944b9 more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 05:30:27 +00:00
Mike Baker 17dad6fbd2 fix a few directories missed in [4176]'s source -> download
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 17:00:14 +00:00
Mike Baker 831ed635d4 change $(STAMP_DIR) to $(LINUX_DIR) to avoid issues compiling multiple kernels
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 23:52:27 +00:00
Gerry Rozema 42fb2160c4 UML target completed. Added ext2 target fs for use with uml images
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 21:06:47 +00:00
Felix Fietkau f525b8b028 move some of the kernel module packaging to package/kernel/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 16:17:19 +00:00
Felix Fietkau 3a1b3ff177 add workaround for kernel module install
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-28 17:30:39 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau fef592fc16 add support for new modules.mk format (no autogenerated Config.in yet)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-26 01:55:47 +00:00
Felix Fietkau a5a02a409e add extra targets to improve make tracing output
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 16:59:19 +00:00
Mike Baker e4a9076c04 fix kernel configure target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 22:10:43 +00:00
Mike Baker 4cd3d1fab1 .pkginfo cleanup #2
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 00:49:42 +00:00
Felix Fietkau 24cf53528f add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau 08cbdbc1b0 build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00