Commit Graph

20 Commits (cda3dc3ae1a21fb9c1e8729d2fcc84967e42dd2b)

Author SHA1 Message Date
Felix Fietkau 881bac2db2 Allow targets to specify extra initramfs source files
The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated
list of source files (or directories). This allows a platform to
add extra components to the initramfs image, by defining the
INITRAMFS_EXTRA_FILES make var.

By default, we add a simple initramfs extra file for the generic-2.6
platform, which specifies a few device nodes.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9410
2007-10-23 06:23:29 +00:00
Felix Fietkau 4a142953ea Use current UID for initramfs root user:group
Set the CONFIG_INITRAMFS_ROOT_{U,G}ID kernel variables to the current
user, so that all files end up being owned by root in the final
initramfs image.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9409
2007-10-23 06:23:26 +00:00
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
2007-10-23 06:23:23 +00:00
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
2007-09-29 03:39:57 +00:00
Nicolas Thill 8c7105e20a remove (unused?) linux symlink in BUILD_DIR
SVN-Revision: 8804
2007-09-16 16:28:50 +00:00
Felix Fietkau e63e1f7a4a add support for device type based package preselections
SVN-Revision: 8696
2007-09-08 21:30:25 +00:00
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
2007-09-08 19:55:42 +00:00
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau bec2fe7c6c remove CONFIG_JLEVEL. use make -j in the future
SVN-Revision: 8237
2007-07-30 18:24:47 +00:00
Felix Fietkau 8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
2007-07-18 11:31:01 +00:00
Felix Fietkau a344cd47ed fix the tar invocation in kernel build (#1935)
SVN-Revision: 7686
2007-06-21 15:50:01 +00:00
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
2007-06-16 01:56:04 +00:00
Imre Kaloz 08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
2007-06-08 10:44:01 +00:00
Felix Fietkau 3b6b7a2d1b implement quilt handling for the kernel tree ... and there was much rejoicing!
SVN-Revision: 7474
2007-06-03 08:28:05 +00:00
Mike Baker 854f0ad080 change handling of target/linux/generic-2.x/files to match other targets (#1648)
SVN-Revision: 7158
2007-05-10 08:35:48 +00:00
Felix Fietkau 90acc0e779 fix make kernel_menuconfig (#1637)
SVN-Revision: 7094
2007-05-05 08:53:34 +00:00
Felix Fietkau 74cd5bc109 add workaround for occasional kernel module build failures related to kernel config changes
SVN-Revision: 7050
2007-04-25 22:26:40 +00:00
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
2007-04-18 12:28:38 +00:00
Felix Fietkau 35317253e6 trigger a kernel module rebuild when the kernel config changes
SVN-Revision: 6671
2007-03-24 17:05:26 +00:00
Felix Fietkau ea952312ae move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
SVN-Revision: 6664
2007-03-24 13:42:54 +00:00