Commit Graph

148 Commits (be3c8f8b2bf2893950b11ea7fa16cea074bc7903)

Author SHA1 Message Date
Travis Kemen 7c7bd6f61c This patch makes kernel modules check if config is defined and creates a config 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>
SVN-Revision: 11139
16 years ago
Nicolas Thill e93e293b41 add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels (closes: #3402)
SVN-Revision: 11115
16 years ago
Felix Fietkau 2448cb8a15 add optional version suffix to kernel files/ directories
SVN-Revision: 10972
16 years ago
Felix Fietkau 5526395594 fix kernel config related build error
SVN-Revision: 9640
17 years ago
Felix Fietkau d1b4f5b54f include the kernel config for kernel related packages (should fix some b43 compile issues)
SVN-Revision: 9635
17 years ago
Felix Fietkau 4bb2c88f4e don't specify "CC=<nothing>" on kernel build command line
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>

SVN-Revision: 9408
17 years ago
Felix Fietkau d8e032edef don't replace powerpc arch with ppc
'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>

SVN-Revision: 9405
17 years ago
Nicolas Thill 892b16a352 revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
SVN-Revision: 8798
17 years ago
Felix Fietkau e83d637f65 fix kernel build with quilt
SVN-Revision: 8727
17 years ago
Felix Fietkau 0c9b23594d fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
SVN-Revision: 8697
17 years ago
Felix Fietkau a9d683ca91 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
SVN-Revision: 8694
17 years ago
Felix Fietkau 56231056ea 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.
SVN-Revision: 8653
17 years ago
Nicolas Thill 8dc7ced4d4 require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
SVN-Revision: 8591
17 years ago
Nicolas Thill 6a6fa5a4ab provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
17 years ago
Nicolas Thill 02cd6d278f use a default VERSION field for kmod packages
SVN-Revision: 8575
17 years ago
Nicolas Thill 1b226e4de1 add a '@KERNEL' download facility, tweak script
SVN-Revision: 8495
17 years ago
Nicolas Thill b35e6fe3ba include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
SVN-Revision: 8494
17 years ago
Nicolas Thill 615a81cb65 move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
SVN-Revision: 8485
17 years ago
Nicolas Thill 655a446b17 add support for KernelPackage/*/description
SVN-Revision: 8484
17 years ago
Felix Fietkau 3df35f0b09 revert [8415], seems to be causing problems for the kernel build
SVN-Revision: 8418
17 years ago
Felix Fietkau c2d5c1c0c2 always include kernel config for kernel packages
SVN-Revision: 8415
17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
17 years ago
Felix Fietkau 0f74fa296c fix kmod packages that don't use KCONFIG
SVN-Revision: 8323
17 years ago
Felix Fietkau 21075a17f7 fix kmod packaging for packages where some KCONFIG symbols are set to y
SVN-Revision: 8316
17 years ago
Felix Fietkau 99368862e4 Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
SVN-Revision: 8256
17 years ago
Felix Fietkau 7ff45c5adb disable kmod packages where the KCONFIG options are =y
SVN-Revision: 8086
17 years ago
Felix Fietkau 8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
17 years ago
Gabor Juhos 259ff05f84 reordered GENERIC_PATCH_DIR variable
SVN-Revision: 7824
17 years ago
Felix Fietkau 6c4ee48f92 fix kernel config feature autodetection
SVN-Revision: 7811
17 years ago
Felix Fietkau f019ac4dc9 prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
SVN-Revision: 7644
17 years ago
Felix Fietkau 56220b258b fix kmod-* build error when wildcards are being used in $(FILES)
SVN-Revision: 7052
17 years ago
Felix Fietkau 4c6c987f09 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
SVN-Revision: 6998
17 years ago
Felix Fietkau 1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
17 years ago
Felix Fietkau d398dc0309 always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
SVN-Revision: 6350
17 years ago
Felix Fietkau dc6794b88c some platform support path name cleanup
SVN-Revision: 5846
18 years ago
Felix Fietkau 1c9fe80ed4 fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
18 years ago
Felix Fietkau 37362df7ea move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
18 years ago
Felix Fietkau f149f1a0b0 import Package/Default in KernelPackage to avoid reusing variables from the wrong packages (fixes #970)
SVN-Revision: 5565
18 years ago
Felix Fietkau 13aeec9b06 only enable in-tree kmod-* packages by default
SVN-Revision: 5560
18 years ago
Felix Fietkau cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
18 years ago
Felix Fietkau 78ae7f9a6b fix dependencies on the virtual kernel package (fixes #878)
SVN-Revision: 5279
18 years ago
Felix Fietkau 2665d7f09e cleanup/rewrite of the kernel build process
SVN-Revision: 5226
18 years ago
Felix Fietkau 87e6a7e4f2 cleanup
SVN-Revision: 5224
18 years ago
Felix Fietkau c041f53b8d finally kill KMOD_template - removes a big chunk of legacy build code
SVN-Revision: 5222
18 years ago
Nicolas Thill ee11bee390 fix uml-2.6 build, move KERNELNAME to kernel-build.mk
SVN-Revision: 5204
18 years ago
Felix Fietkau f1a497259b fix module autoload option
SVN-Revision: 5201
18 years ago
Felix Fietkau 547b127d7a make kernel module packaging code reusable and use it in madwifi
SVN-Revision: 5189
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago