summaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
Commit message (Collapse)AuthorAgeFilesLines
* don't specify "CC=<nothing>" on kernel build command linenbd2007-10-231-4/+4
| | | | | | | | | | | | | | If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build command-line. We don't always need CC, as the CROSS_COMPILE flag does the job instead. In fact, specifying CC messes up the build when we're using a biarch compiler. This change doesn't specify CC= if the KERNEL_CC variable is empty. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't replace powerpc arch with ppcnbd2007-10-231-7/+8
| | | | | | | | | | | | | | 'powerpc' is a valid arch for the LINUX_KARCH variable, but the build system unconditionally replaces LIUNUX_KARCH=powerpc with LINUX_KARCH=ppc. This change only does the replacement if LINUX_KARCH isn't set. This allows us to use the powerpc architecture. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert CONFIG_* symbols set m enforcement introduced in [8591], it can't ↵nico2007-09-161-2/+1
| | | | | | work when symbols from different kernel versions are mixed in KCONFIG git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kernel build with quiltnbd2007-09-101-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kmod-crypto, emit warning messages for kmod packages that cannot be ↵nbd2007-09-081-0/+6
| | | | | | built due to missing kernel config options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵nbd2007-09-081-7/+16
| | | | | | 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
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd2007-09-061-2/+2
| | | | | | (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
* require all CONFIG_* symbols listed in its KCONFIG to be set to m in order ↵nico2007-09-031-1/+2
| | | | | | to actually build a kmod package, tweak and fix kernel package definitions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* provide default PKG_BUILD_DIR for packages missing a PKG_VERSIONnico2007-09-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use a default VERSION field for kmod packagesnico2007-09-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a '@KERNEL' download facility, tweak scriptnico2007-08-261-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵nico2007-08-261-0/+2
| | | | | | is always available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is ↵nico2007-08-251-1/+0
| | | | | | defined when dumping target infos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for KernelPackage/*/descriptionnico2007-08-251-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert [8415], seems to be causing problems for the kernel buildnbd2007-08-161-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* always include kernel config for kernel packagesnbd2007-08-151-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵nbd2007-08-071-3/+3
| | | | | | 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
* fix kmod packages that don't use KCONFIGnbd2007-08-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kmod packaging for packages where some KCONFIG symbols are set to ynbd2007-08-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will ↵nbd2007-07-311-0/+2
| | | | | | emit warnings in packages that don't use our target cflags properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable kmod packages where the KCONFIG options are =ynbd2007-07-201-7/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dynamically enable/disable kernel config options for kmod packages based on ↵nbd2007-07-181-11/+7
| | | | | | build system config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* reordered GENERIC_PATCH_DIR variablejuhosg2007-07-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kernel config feature autodetectionnbd2007-06-301-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepare for the transition to linux 2.6.22 - make it possible to override ↵nbd2007-06-161-4/+8
| | | | | | the kernel version in the target makefile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kmod-* build error when wildcards are being used in $(FILES)nbd2007-04-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Improved autorebuild for kernel related stuff.nbd2007-04-181-1/+2
| | | | | | | | | | - 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
* add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵nbd2007-03-161-0/+2
| | | | | | KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* always dereference symbolic links when copying kernel modules into the ↵nbd2007-02-231-1/+1
| | | | | | packaging directory (fixes alsa build, patch from #1392) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some platform support path name cleanupnbd2006-12-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix pesky kmod-* ipkg install bugnbd2006-11-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move platform specific base-files into target/linux/<targetname>nbd2006-11-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* import Package/Default in KernelPackage to avoid reusing variables from the ↵nbd2006-11-181-0/+1
| | | | | | wrong packages (fixes #970) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* only enable in-tree kmod-* packages by defaultnbd2006-11-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make target/linux/* directories self-contained, use the selected kernel ↵nbd2006-11-111-19/+11
| | | | | | 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
* fix dependencies on the virtual kernel package (fixes #878)nbd2006-10-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleanup/rewrite of the kernel build processnbd2006-10-191-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleanupnbd2006-10-191-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* finally kill KMOD_template - removes a big chunk of legacy build codenbd2006-10-191-47/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix uml-2.6 build, move KERNELNAME to kernel-build.mknico2006-10-181-9/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix module autoload optionnbd2006-10-171-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make kernel module packaging code reusable and use it in madwifinbd2006-10-171-0/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* put LINUX_KARCH in .kernel.mknbd2006-10-101-8/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix LINUX_RELEASE and use it for the kmod-* buildnbd2006-08-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add basic support for the Magicbox boardskaloz2006-08-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix KERNELNAMEnbd2006-08-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Build bzImage for x86 builds - allow ext2 images even if initramfs used, ↵groz2006-08-171-0/+5
| | | | | | 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
* fix issues if kernel config is changed after the compile has startedmbm2006-08-161-26/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix uml-2.6 (closes: #678)nico2006-08-101-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* UML target completed. Added ext2 target fs for use with uml imagesgroz2006-07-201-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4178 3c298f89-4303-0410-b956-a3cf2f4a3e73