Commit Graph

306 Commits

Author SHA1 Message Date
"Steven J. Hill"
1bb1d9f396 Add 'linux26-modules' target to allow external drivers to be built with the kernel. Also, remove 'boot' directory before creating INITRAMFS. 2007-07-17 13:28:31 +00:00
Ulf Samuelsson
a1e6a84bb3 Add AT91 targets 2007-07-17 12:19:56 +00:00
"Steven J. Hill"
c5180589da A number of fixes including placing of the final image into the 'binaries' directory. Moved INITRAMFS_TARGET to the correct location as modules from the built kernel were not being installed until after the INITRAMFS had been built. Fixed config options for INITRAMFS to be correct and cleaned up whitespace/tab issues. 2007-07-17 00:20:32 +00:00
Ulf Samuelsson
7a3bccae42 Correct JFFS2 Erase Size for AT45 dataflash 2007-07-14 07:26:41 +00:00
Ulf Samuelsson
3147e777fe Make Config.in targets for ARM chips look consistent 2007-07-12 18:47:48 +00:00
Ulf Samuelsson
412ca2a4d4 BSP Patch:
=========================================================
	The purpose of the BSP patch is to allow building
	several boards inside the same buildroot tree.
	For this to work, each board has to have its
	own "$(TARGET_DIR)" and all *configurable* packages
	must be rebuilt for each board.
	They are now built in the "$(PROJECT_BUILD_DIR)"
	All non configurable packages can and should still
	be built in the "$(BUILD_DIR)".
	If a package is built for one board, then when
	you build for a second board of the same architecture
	the build becomes a simple copy of the resulting
	binaries.

	-----
	Define BR2_PROJECT which will be used as the selector
	between different boards. Note that BR2_PROJECT allow
	you to build multiple root file systems for a single 
	board, and should not be confused with BR2_BOARD_NAME
	which relates to the H/W.

	-----
	Define PROJECT_BUILD_DIR as 	"PROJECT_BUILD_DIR/$(PROJECT)"
	Define BINARIES_DIR as 		"binaries/$(PROJECT)"
	Define TARGET_DIR as		"$(PROJECT_BUILD_DIR)/root"
	(some prefix/postfix may apply)

	Resulting images are stored in	"$(BINARIES_DIR)"

	-----
	Define a few new environment variables in Makefile

	PROJECT:	Stripped BR2_PROJECT
	DATE:		Date of build in YYYY-MM-DD format
	HOSTNAME:	Stripped BR2_HOSTNAME	=> /etc/hostname
	BANNER:		Stripped BR2_BANNER	=> /etc/issue

	Linux and Busybox will be built in $(PROJECT_BUILD_DIR)
	More patches will be needed later to ensure all
	configurable packages are built in this directory.
2007-07-12 13:11:03 +00:00
Ulf Samuelsson
c0c804da6e Configure linux within target/linux/Config.in instead of within target/device/Config.in 2007-07-11 14:42:32 +00:00
Ulf Samuelsson
cf254e81d1 Configure linux within target/linux/Config.in instead of within target/device/Config.in 2007-07-11 14:40:56 +00:00
Ulf Samuelsson
0e5715a9d7 Build linux within target/linux/Makefile.in instead of within target/linux26.mk 2007-07-11 14:34:55 +00:00
Bernhard Reutner-Fischer
9dd07e229c - add pxelinux 2007-07-08 20:51:19 +00:00
Bernhard Reutner-Fischer
649046bd2e - apply settings for initramfs 2007-07-08 19:22:58 +00:00
Bernhard Reutner-Fischer
149c552e0f - provide option to build an initramfs out of the current rootfs. Closes #881 2007-07-08 19:22:18 +00:00
Bernhard Reutner-Fischer
ddbaf4dd43 - update defaults 2007-07-08 13:51:15 +00:00
Bernhard Reutner-Fischer
ab088e8cd1 - iso9660 target does not build target kernel due to missing dependency. Closes #1194 2007-07-08 11:25:25 +00:00
Bernhard Reutner-Fischer
bc8d90683e - stub for grub2. Needs to be fixed upstream first. 2007-06-27 21:03:42 +00:00
Bernhard Reutner-Fischer
e252fa9385 - filter out eventual -fPIC -fpic -DPIC flags from the target cflags
Honor the .config setting for KCONFIG and FORMAT iff not imposed by the target/device. If they are not set in the config, the defaults (zImage etc) still apply.
2007-06-26 16:36:31 +00:00
Bernhard Reutner-Fischer
7f9060242f - LINUX26_BINLOC is always defined in target/device/mips/Makefile.in, even for non-mips
Thanks to Julien Letessier for spotting my omission
2007-06-22 17:49:14 +00:00
Bernhard Reutner-Fischer
4a175d2319 - add a sample (pseudo-)board for a mips malta box 2007-06-22 08:47:09 +00:00
Bernhard Reutner-Fischer
395d400aac - bump version to 2.6.21.5 2007-06-21 22:10:12 +00:00
"Steven J. Hill"
07feaa5736 Get rid of extra directory entry in JFFS2 and add wildcarding for usbmount patches. 2007-06-16 17:56:05 +00:00
"Steven J. Hill"
d04f3b5aaf Get rid of extra directory entries. 2007-06-16 17:55:32 +00:00
Peter Korsgaard
45ac6df37c Use BR2_ENDIAN for big/little endianness detection 2007-06-12 15:30:32 +00:00
Bernhard Reutner-Fischer
0eca4b95ed - hide atmel target if arch is not arm nor avr32 2007-06-07 10:48:01 +00:00
Bernhard Reutner-Fischer
fec743a305 - fix typo which led to a superfluous cp invocation 2007-06-06 19:59:01 +00:00
Bernhard Reutner-Fischer
915d1d2bd1 - update config 2007-06-02 17:41:02 +00:00
Bernhard Reutner-Fischer
f69be807b5 - bump patch version 2007-05-15 11:39:44 +00:00
Peter Korsgaard
4cdef5138d s/FAKEROUTE/FAKEROOT/ 2007-05-03 08:25:17 +00:00
Bernhard Reutner-Fischer
6bb75e43a4 - strip eventual quotes 2007-04-17 17:30:12 +00:00
Bernhard Reutner-Fischer
dc09df0878 - store BR2_PACKAGE_LINUX_KCONFIG and BR2_PACKAGE_LINUX_FORMAT in .config
- adjust a few defaults.
2007-04-11 08:21:55 +00:00
Bernhard Reutner-Fischer
73be7f9ef4 - make sure to download fakeroot if needed 2007-04-06 16:36:48 +00:00
Bernhard Reutner-Fischer
48b3e0c94f - add option to create a jffs2 filesystem in srec format. Thanks to Xride. 2007-03-26 10:31:56 +00:00
Bernhard Reutner-Fischer
e96908633d - add a question for andersee 2007-03-22 18:14:23 +00:00
Bernhard Reutner-Fischer
300b8b7f93 - make it work with MacOSX. Closes #1252 2007-03-20 17:21:35 +00:00
Bernhard Reutner-Fischer
f94a44c3ad - use numeric values for the superuser to be more portable.
Closes #1250
2007-03-20 16:52:44 +00:00
Bernhard Reutner-Fischer
0e59ed0208 - bump version. Closes #1225 2007-03-20 16:42:51 +00:00
Bernhard Reutner-Fischer
ad9f02edac - disable compile-broken EDAC_I82875P driver 2007-03-20 09:52:36 +00:00
Bernhard Reutner-Fischer
2fc7dfb0cd - pin LINUX_VERSION. Closes #1277 2007-03-19 10:49:11 +00:00
Bernhard Reutner-Fischer
f20e9bc6f1 - note which kernel-headers are required.
PS: kernel-headers-old.mk would need to provide stuff for downloading the full version, in case anybody would care about such ancient stuff..
2007-03-18 11:53:16 +00:00
Bernhard Reutner-Fischer
7920c869d9 - turn off some broken modules 2007-03-14 16:38:38 +00:00
Bernhard Reutner-Fischer
4f8e6ee7e6 - update sample config a bit 2007-03-14 13:55:32 +00:00
Bernhard Reutner-Fischer
9e59c9bc00 - add homedir 2007-03-09 12:32:09 +00:00
Bernhard Reutner-Fischer
df0d821460 - add skeleton to use busybox and mdev for a rather small skeleton 2007-02-16 14:32:22 +00:00
Bernhard Reutner-Fischer
0091f181ef - do not use TARGET_DEVICE_TABLE if is is empty 2007-02-15 16:49:39 +00:00
Bernhard Reutner-Fischer
2f67d9e2fe - preparation for BR2_PACKAGE_BUSYBOX_SKELETON
"Use a minimal target skeleton for use with busybox's mdev et al"
2007-02-15 15:11:34 +00:00
Bernhard Reutner-Fischer
22a6caa17e - set some kernel related variables for use by packages 2007-02-15 12:30:15 +00:00
Bernhard Reutner-Fischer
cf647cea3d - allow to run linux26-menuconfig and uclibc-menuconfig in a pristine checkout 2007-02-15 11:12:15 +00:00
Bernhard Reutner-Fischer
de7ae0beed - revert incorrect parts from sjhill's r17800 and add some more documentation.
Now the kernel as well as /lib/modules are properly included in the final tarball and all other tarroot/genfs targets.
2007-02-12 17:42:18 +00:00
Bernhard Reutner-Fischer
b0dc12db5d - add an arm integrator 926 thing qemu can deal with 2007-02-10 19:30:55 +00:00
Bernhard Reutner-Fischer
13e893d13b - bump patch version. Thanks to Alexander Rigbo for pointing this out. 2007-02-07 10:43:04 +00:00
"Steven J. Hill"
02f71aab47 Support building using an external toolchain. Questions to the mailing list and all other comments to <biteme@devnull.com>. 2007-02-06 18:19:38 +00:00
Bernhard Reutner-Fischer
3c1f00b21a - avoid spurious rebuilds. Thanks to janlana, closes #1191
- provide a syslinux-source target while at it
2007-02-04 16:34:56 +00:00
Bernhard Reutner-Fischer
cc6f5f2027 - propagate BR2_ARM_EABI setting down to LINUX26_KCONFIG 2007-02-04 16:30:07 +00:00
Bernhard Reutner-Fischer
f0be91fd17 - reenable linux26 2007-01-31 17:36:43 +00:00
Bernhard Reutner-Fischer
d2fdd8bd46 - honor the given kernel format and fallback to zImage if none was specified 2007-01-30 17:38:41 +00:00
Bernhard Reutner-Fischer
3b11319651 - set preferred kernel format to bzImage for i386 family 2007-01-30 17:37:35 +00:00
Bernhard Reutner-Fischer
bf64053b8b - make sure to check against ia32 2007-01-30 17:36:51 +00:00
Bernhard Reutner-Fischer
8d583fc01a - generalize the menuconfig linux kernel support
- simplify toplevel mkdir rules a tiny bit
2007-01-30 00:58:18 +00:00
Bernhard Reutner-Fischer
55c11889ab - drop some stuff 2007-01-30 00:35:40 +00:00
Bernhard Reutner-Fischer
6677e45fd6 - update snapshot config for ia32 config 2007-01-30 00:12:17 +00:00
Bernhard Reutner-Fischer
3ae6018b9e - fixup after self. Kernel for the x86 family is now built again 2007-01-29 23:01:42 +00:00
Bernhard Reutner-Fischer
6aed4941f4 - strip a handful of enable 2007-01-29 22:12:53 +00:00
Bernhard Reutner-Fischer
b7e38de9eb - apply Soekris update from Eric Milon
- mv the linux26.mk into a more generic place for use with other arches/boards (breaks the kernel, will fix up soonish)
2007-01-29 21:53:20 +00:00
Bernhard Reutner-Fischer
d00d04413c - added diskless/net support and new patches, mainly network drivers.
Closes #721. Thanks, janlana
2007-01-29 18:34:37 +00:00
Bernhard Reutner-Fischer
6b9256a138 - be gentle to vi's syntax highlighting 2007-01-29 08:45:36 +00:00
Bernhard Reutner-Fischer
41697b7a46 - make sure to add board specific targets before the final generation of the filesystems/tarballs.
Until now, we did created the fs and only after that built/installed grub et al
2007-01-28 17:35:11 +00:00
Bernhard Reutner-Fischer
148c76f739 - fix dependencies 2007-01-27 23:11:16 +00:00
Bernhard Reutner-Fischer
28f4689413 - Additional JFFS2 options to support Dataflash (Ulf Samuelsson)
- cleanup a bit while at it
2007-01-24 23:18:08 +00:00
Bernhard Reutner-Fischer
77a3b8679c - Prepatory patch for new Atmel targets boards
Rearrange in Alphabetical order (Ulf Samuelsson)
2007-01-24 22:22:11 +00:00
Bernhard Reutner-Fischer
b17c61938e - remove some hardcoded occurances of "make" and use the proper variable instead 2007-01-21 21:32:49 +00:00
Bernhard Reutner-Fischer
2c7da4d726 - use makedev to get device number, else it gives wrong major/minor numbers to devices files on systems which use big device numbers.
Closes #919
2007-01-21 14:36:25 +00:00
Peter Korsgaard
297cae9359 Bump version 2007-01-18 12:39:05 +00:00
Bernhard Reutner-Fischer
8564ba689d - andersee, why was this duplicated and hardcoded here? 2007-01-15 17:34:58 +00:00
"Steven J. Hill"
3a0125d067 Add users and groups for D-Bus and HAL. 2007-01-14 04:25:41 +00:00
"Steven J. Hill"
994d7f05a3 Make '/var/cache' and symbolic link to '/tmp' like the others. We'll need this for Samba and friends. Also, change mount order of filesystems during boot. 2007-01-14 00:56:52 +00:00
Bernhard Reutner-Fischer
edea8785d8 - BR2_TARGET_ROOTFS_EXT2_RESBLKS is ignored if it is 0. It should be used if it is 0 (since 0 means something here--"do not reserve any blocks".
Thanks to timw. Closes #484.
2006-12-22 12:34:35 +00:00
Bernhard Reutner-Fischer
684e3477bb - patch from AndyI to make it behave on Cygwin. Closes #1127. Thanks! 2006-12-22 12:22:15 +00:00
Bernhard Reutner-Fischer
82b3f197b0 - move setting the TARGET_DEVICE_DEPMOD up one level 2006-12-22 10:39:56 +00:00
Bernhard Reutner-Fischer
7913aa0675 - bump patch version 2006-12-20 17:08:38 +00:00
Bernhard Reutner-Fischer
af9f612b67 - Lars Munch noticed that i broke the ext2 compressor. Thanks! 2006-12-20 16:45:47 +00:00
Bernhard Reutner-Fischer
b6397015e4 - copy the final kernel (and System.map) to boot/ 2006-12-18 14:10:46 +00:00
Bernhard Reutner-Fischer
fb1e7915e9 - stripped a bit too much for kernel-headers == target-kernel. Reinstate required rules. 2006-12-18 13:48:02 +00:00
Bernhard Reutner-Fischer
93af6cb26b - put the full kernel's sources into build_/, install them into toolchain_build_. Saves quite some disk-space on the compile-host.
- Avoid overriding the linux26 target's rules if the kernel headers's and the target's kernel are the same. Avoids a warning.
2006-12-18 13:30:05 +00:00
Bernhard Reutner-Fischer
787635669b - update the ext2 rootfs compression mechanism to allow for gzip, bzip2, lzma or none 2006-12-14 15:47:50 +00:00
Bernhard Reutner-Fischer
b3d0f31bdc - make sure to agree on the installation CONFIG_PREFIX 2006-12-13 22:51:37 +00:00
Bernhard Reutner-Fischer
189ccbaf52 - remove BR2_PACKAGE_BUSYBOX_CONFIG from here since we already have a default for it in busybox/Config.in 2006-12-13 20:26:27 +00:00
Eric Andersen
6e2b255ad8 make this target current 2006-12-13 12:18:08 +00:00
Eric Andersen
0ac8b4c298 use the correct depmod for linux26 2006-12-13 11:59:53 +00:00
Eric Andersen
09d614de28 rename 2006-12-13 11:57:14 +00:00
Eric Andersen
1b7058694e endianness is handled elsewhere 2006-12-13 11:53:38 +00:00
Eric Andersen
d699758c45 rework the default x86 target 2006-12-13 11:53:00 +00:00
Eric Andersen
162a23c220 update busybox defaults a bit 2006-12-13 09:14:10 +00:00
Eric Andersen
5eeac710ca update uClibc config settings and update installation of kernel headers 2006-12-12 07:10:54 +00:00
Bernhard Reutner-Fischer
0186dab79f - cosmetic vi syntax highlighting improvement 2006-12-10 13:42:16 +00:00
Bernhard Reutner-Fischer
f7da61daa3 - +x 2006-12-04 13:39:50 +00:00
Bernhard Reutner-Fischer
f2e4ecf1d8 - add generic target. X86 for now, don't fork this but generalize it! 2006-12-02 19:34:17 +00:00
Bernhard Reutner-Fischer
0d4312bd97 - eventually mount the crap /proc before remounting to make busybox's mount that incorrectly may rely on /proc work. 2006-12-02 18:34:32 +00:00
Bernhard Reutner-Fischer
eb3b21be72 - honor uclibc's notion of LFS support 2006-11-29 20:26:05 +00:00
Bernhard Reutner-Fischer
1d10f37b2e - keep the original tarball around. 2006-11-29 19:28:41 +00:00
Bernhard Reutner-Fischer
f7de9bf615 - provide a choice to select the compressor to use for the final rootfs.
Closes #1014
2006-11-29 19:16:48 +00:00
Bernhard Reutner-Fischer
6933e0ae04 - use the HOSTCC as set by the user. 2006-11-29 19:02:47 +00:00