summaryrefslogtreecommitdiff
path: root/include/kernel.mk
AgeCommit message (Collapse)Author
2009-03-03get rid of one more $(shell) instancenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03replace a few unnecessary $(shell) callsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03avoid repeating the same dependency multiple timesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11fix LINUX_KARCH for x86nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18change the way ./files* and the generic kernel files are applied. ./files ↵nbd
now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02make sure that when the kernel config changes, compile is triggered for all ↵nbd
kernel dependent packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27fix kconfig for packages that only define =y, =m or =n rulesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-15This patch makes kernel modules check if config is defined and creates a configthepeople
passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe <ago@bastart.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11add a macro to compare kernel patch versions and use it for crypto and ↵nico
watchdog changes in 2.6.24+ kernels (closes: #3402) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28add optional version suffix to kernel files/ directoriesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30fix kernel config related build errornbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30include the kernel config for kernel related packages (should fix some b43 ↵nbd
compile issues) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23don't specify "CC=<nothing>" on kernel build command linenbd
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
2007-10-23don't replace powerpc arch with ppcnbd
'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
2007-09-16revert CONFIG_* symbols set m enforcement introduced in [8591], it can't ↵nico
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
2007-09-10fix kernel build with quiltnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08fix kmod-crypto, emit warning messages for kmod packages that cannot be ↵nbd
built due to missing kernel config options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08major target cleanup. it is now possible to have subtargets that can ↵nbd
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-06strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd
(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-03require all CONFIG_* symbols listed in its KCONFIG to be set to m in order ↵nico
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
2007-09-03provide default PKG_BUILD_DIR for packages missing a PKG_VERSIONnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02use a default VERSION field for kmod packagesnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26add a '@KERNEL' download facility, tweak scriptnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER ↵nico
is always available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is ↵nico
defined when dumping target infos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25add support for KernelPackage/*/descriptionnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-16revert [8415], seems to be causing problems for the kernel buildnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15always include kernel config for kernel packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07build system cleanup/restructuring as described in ↵nbd
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-02fix kmod packages that don't use KCONFIGnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02fix kmod packaging for packages where some KCONFIG symbols are set to ynbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will ↵nbd
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
2007-07-20disable kmod packages where the KCONFIG options are =ynbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18dynamically enable/disable kernel config options for kmod packages based on ↵nbd
build system config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01reordered GENERIC_PATCH_DIR variablejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30fix kernel config feature autodetectionnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16prepare for the transition to linux 2.6.22 - make it possible to override ↵nbd
the kernel version in the target makefile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26fix kmod-* build error when wildcards are being used in $(FILES)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18Improved autorebuild for kernel related stuff.nbd
- 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-03-16add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵nbd
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
2007-02-23always dereference symbolic links when copying kernel modules into the ↵nbd
packaging directory (fixes alsa build, patch from #1392) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-18some platform support path name cleanupnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-25fix pesky kmod-* ipkg install bugnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22move platform specific base-files into target/linux/<targetname>nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18import Package/Default in KernelPackage to avoid reusing variables from the ↵nbd
wrong packages (fixes #970) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18only enable in-tree kmod-* packages by defaultnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11make target/linux/* directories self-contained, use the selected kernel ↵nbd
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-10-24fix dependencies on the virtual kernel package (fixes #878)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19cleanup/rewrite of the kernel build processnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19cleanupnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5224 3c298f89-4303-0410-b956-a3cf2f4a3e73