Commit Graph

473 Commits

Author SHA1 Message Date
Ulf Samuelsson
9413d83ea6 Remove useless target/arm directory 2007-09-23 22:08:51 +00:00
Ulf Samuelsson
9512866f3c Update atstk1002 config 2007-09-23 10:56:16 +00:00
Ulf Samuelsson
3a99ba08df Update SAM9261EK linux config 2007-09-23 10:03:27 +00:00
Ulf Samuelsson
7c012c0775 Use correct path to vmlinux, Fix bad SED of config 2007-09-23 09:58:47 +00:00
Bernhard Reutner-Fischer
4a52da0f34 - update i386 sample config a little bit 2007-09-22 18:19:35 +00:00
Bernhard Reutner-Fischer
ea8b1fa6a6 - put LZMA into generic flags
- some additional cleanups while at it
2007-09-22 17:30:38 +00:00
Bernhard Reutner-Fischer
ea3aa3aa28 - add a more generic "Kernel" menu instead of "Linux Options" 2007-09-22 14:53:38 +00:00
Bernhard Reutner-Fischer
adf28e194c - move project settings from toolchain to device 2007-09-22 14:34:40 +00:00
Bernhard Reutner-Fischer
51a61c9011 - Subsume and collaps toolchain options in one menu
This is ment to ease configuration by providing toolchain related options in one place
  No functional changes, just shuffling the menus around..
2007-09-22 14:16:25 +00:00
Ulf Samuelsson
f1c7af3038 Add CONFIG_SEQ for atstk1002 busybox 2007-09-20 16:47:22 +00:00
Ulf Samuelsson
94cff5a265 Check if STK1002 init scripts are executable before running 2007-09-20 16:46:31 +00:00
Ulf Samuelsson
1120408d61 Enable CONFIG_SEQ in busybox for ngw100 2007-09-20 16:44:15 +00:00
Ulf Samuelsson
aaa144ca5d Use correct board name for ngw100 2007-09-20 16:43:16 +00:00
Bernhard Reutner-Fischer
b0dad998e1 - add null 2007-09-19 18:18:09 +00:00
Bernhard Reutner-Fischer
1f45a7ccf4 - patch the correct dir 2007-09-18 17:10:56 +00:00
Ulf Samuelsson
246d2c808a Revert bad patch 2007-09-17 09:26:47 +00:00
Bernhard Reutner-Fischer
496e37e5b9 - Atmel mirrors are only of interrest for atmel 2007-09-17 07:54:52 +00:00
Ulf Samuelsson
59dc222999 Update atngw100 board support 2007-09-12 04:40:45 +00:00
Ulf Samuelsson
157d8decab Unbreak multiple boards, add Ingo's rt patch 2007-09-12 04:06:54 +00:00
Ulf Samuelsson
83ea197017 Update defconfig for AT91SAM9260 2007-09-05 06:52:09 +00:00
Ulf Samuelsson
4e6ef08660 Add defconfig for AT91SAM9261 2007-09-05 06:51:38 +00:00
Ulf Samuelsson
e99f084b2c Add unpacking + patching of linux source tree to simplify creating a new patch 2007-09-05 06:48:38 +00:00
Bernhard Reutner-Fischer
9538749582 - remove initramfs related config settings and configure them back if needed 2007-09-04 21:24:46 +00:00
Ulf Samuelsson
dbf2572704 Add include file to define at91 lcd struct 2007-09-04 16:22:41 +00:00
Ulf Samuelsson
4ccc3015a0 update sam9261 default linux config 2007-09-04 16:21:57 +00:00
Ulf Samuelsson
8b7e24f966 Use default LINUX26_BINLOC for at91 2007-09-04 16:21:22 +00:00
Ulf Samuelsson
2587fa16a5 Update u-boot autoscript 2007-09-04 16:20:28 +00:00
Bernhard Reutner-Fischer
42450b1941 - build and use the list of the small initramfs
Overriding the use of the whole system (as does the initramfs target) is done
  on purpose.
2007-09-02 21:50:37 +00:00
Bernhard Reutner-Fischer
c46c2c75d1 - fix glitch introduced in my whitespace removal (brm) 2007-09-01 10:54:50 +00:00
Ulf Samuelsson
db6ebf437f Fix bug in avr32 uClibc patch 2007-08-28 23:05:10 +00:00
Ulf Samuelsson
d299916baa Update avr32 uclibc patch name 2007-08-28 22:21:35 +00:00
Bernhard Reutner-Fischer
98a7a4c9d2 - misc cleanups (Cristian Ionescu-Idbohrn) 2007-08-28 21:42:44 +00:00
Ulf Samuelsson
c9265a8c6c Fix bad regexp in u-boot.mk 2007-08-28 21:07:32 +00:00
Bernhard Reutner-Fischer
c03e77fc51 - adjust config 2007-08-25 11:20:31 +00:00
Bernhard Reutner-Fischer
3649fd504d - workaround for broken external toolchains 2007-08-25 11:13:20 +00:00
Ulf Samuelsson
60eb97a42f This patch allows each project to have a private linux build.
Split build of kernel headers and kernel image into two source trees.
Kernel headers are built in $(TOOL_BUILD_DIR)
Kernel build is in $(PROJECT_BUILD_DIR)

Make sure that kernel patches are applied to the kernel tree in
$(PROJECT_BUILD_DIR)
Add board specific patches, if available.
2007-08-24 05:36:46 +00:00
Ulf Samuelsson
66285ef7d8 bzcat => $(BZCAT) for u-boot and at91bootstrap 2007-08-22 21:53:13 +00:00
Ulf Samuelsson
e098bd09c8 Remove whitespace damage 2007-08-22 21:47:56 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
3471ebe0a3 - random whitespace cleanup 2007-08-22 11:47:22 +00:00
Bernhard Reutner-Fischer
514cdef23f - use the BZCAT/ZCAT as configured by the user 2007-08-22 10:06:25 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
293b09786c - fix patch regex 2007-08-22 09:44:25 +00:00
Bernhard Reutner-Fischer
aa81a06508 - improve the way host prerequisites for "dependencies" are established 2007-08-22 09:22:07 +00:00
Bernhard Reutner-Fischer
fb9d19603c - fixup whitespace damage after ulf 2007-08-21 19:33:00 +00:00
Bernhard Reutner-Fischer
e99518277a - add handling of lzma for the host (unconditionally for now)
- remove non-working attempt to install an lzma to the host via sudo
2007-08-21 15:33:33 +00:00
Bernhard Reutner-Fischer
1afb8226cb - start to use BR2_HAVE_MANPAGES and BR2_HAVE_INFOPAGES
- always error out if ldconfig for the target fails (was inconsistent..)
2007-08-21 14:32:38 +00:00
Bernhard Reutner-Fischer
7109587d41 - adjust config 2007-08-21 13:23:13 +00:00
Bernhard Reutner-Fischer
d1ffa06a09 - propagate IPv6 setting down to the kernel 2007-08-21 13:21:44 +00:00
Bernhard Reutner-Fischer
7b403ada37 - sed -i -e "/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g"
(want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out
2007-08-21 11:25:30 +00:00
Bernhard Reutner-Fischer
f88b8e0bf3 - a few more cleanups (Cristian Ionescu-Idbohrn) 2007-08-21 10:40:18 +00:00
Ulf Samuelsson
e8def1fcfc additional skeleton for AVR32 2007-08-21 01:34:40 +00:00
Ulf Samuelsson
392ead671e Ensure KERNEL_HEADER_PATCH_DIR is always defined + empty dir for x86 2007-08-20 07:24:10 +00:00
Ulf Samuelsson
abec6a1089 install uClibc libraries correctly 2007-08-20 06:23:00 +00:00
Ulf Samuelsson
bb92ec0c78 Add kernel patches, if at91 or avr32 is selected 2007-08-19 23:13:06 +00:00
Ulf Samuelsson
88409d0432 Update linux-2.6.22.1 config for sam9261ek, sam9260pf and sam9260dfc 2007-08-19 22:57:25 +00:00
Ulf Samuelsson
167c1a6185 Delete avr32 specific patch and introduced merged at91/avr32 patch 2007-08-19 22:43:50 +00:00
Ulf Samuelsson
8b6462afa5 Move at91 patches from 2.6.21.1 to 2.6.21.5 2007-08-19 22:40:18 +00:00
Ulf Samuelsson
ccd99b0e57 Remove target specific things from Linux config 2007-08-19 22:30:47 +00:00
Ulf Samuelsson
979718c8d9 Fix bad parameter list for patching linux kernel 2007-08-19 22:28:51 +00:00
Ulf Samuelsson
62354f041b UPdate Soekris Linux config to 2.6.22.1 2007-08-19 21:09:28 +00:00
Ulf Samuelsson
6c2d80b2ae Update AVR32 tools download location 2007-08-19 18:26:31 +00:00
Ulf Samuelsson
afec678745 Move AVR32 kernel patches to target/device/Atmel/arch-avr32
Add linux-2.6.22.1-008-atmel-gpio_mouse-setup-for-atstk1000-board.patch
	Move AT91  kernel patches to target/device/Atmel/arch-arm
	Change name from "target/device/Atmel/Linux" to "target/device/Atmel/linux"
	"kernel-headers" will apply all patches in $(LINUX26_KERNEL_PATCH_DIR)
		if this is available.
	Define LINUX26_KERNEL_PATCH_DIR in target/device/Atmel/Makefile.in
		as above "arch-arm/kernel-patches-..." if an AT91 or
		as above "arch-avr32/kernel-patches-..." if an AVR32 target is selected
	Test build done for arm,avr32 and x86
2007-08-18 08:46:41 +00:00
Ulf Samuelsson
34569e0e24 Add mplayer to atstk1002 target_skeleton 2007-08-17 14:53:01 +00:00
Ulf Samuelsson
54989e9556 Update atngw100 device table 2007-08-17 13:17:25 +00:00
Ulf Samuelsson
460cf4dd3d Update atstk1002 device table 2007-08-17 13:16:36 +00:00
Ulf Samuelsson
ee80e9b39b Update atstk1002 target skeleton 2007-08-17 13:02:52 +00:00
Ulf Samuelsson
24c9802928 Update atngw100 target skeleton 2007-08-17 13:01:49 +00:00
Ulf Samuelsson
55e2d9bdb5 Update x86 linux26.config to 2.6.22.1; (save 2.6.21.5 file renamed) 2007-08-16 23:45:29 +00:00
Ulf Samuelsson
c53380aa36 Update at91sam9261ek linux support to 2.6.22.1 2007-08-16 23:31:37 +00:00
Ulf Samuelsson
5d2be04979 Move fakeroot temps from STAGING_DIR to PROJECT_BUILD_DIR 2007-08-16 18:19:42 +00:00
Ulf Samuelsson
0a9af49e0b Ensure lzma is built *before* linux, allow system installation in /usr/local/bin 2007-08-16 18:17:39 +00:00
Ulf Samuelsson
62f5e15724 Add programmable start adr/size to at91bootstrap + support for at91sam9260pf 2007-08-15 09:42:33 +00:00
Ulf Samuelsson
f8581493a7 Add at91sam9260pf (AT91SAM9260 w Par Flash) target 2007-08-15 09:40:59 +00:00
Ulf Samuelsson
f5aed4f5d4 Workaround bug in TinyX makedepend by removing some whitespace 2007-08-13 20:18:25 +00:00
Ulf Samuelsson
a1d70f4fad Update linux cfg for at91sam9260dfc 2007-08-12 00:21:22 +00:00
Ulf Samuelsson
d23fa95f41 Cleanup Atmel boards 2007-08-11 23:09:34 +00:00
Ulf Samuelsson
a2e5113512 Use STAGING_DIR/usr/lib instead of STAGING_DIR/lib 2007-08-11 22:26:56 +00:00
Ulf Samuelsson
90b4498219 Allow compression of cpio targets 2007-08-11 22:01:13 +00:00
Peter Korsgaard
6c0c83fb56 Use cross ldconfig instead of host version 2007-08-08 14:58:47 +00:00
Ulf Samuelsson
89f6dca62e Update AVR32 kernel configurations to 2.6.22.1 2007-08-01 11:54:47 +00:00
Ulf Samuelsson
da974534a6 Use PROJECT related kernel name for Atmel boards 2007-08-01 11:53:25 +00:00
Ulf Samuelsson
3fdcb01579 Allow user configurable kernel name 2007-08-01 11:52:15 +00:00
Ulf Samuelsson
8ee6fbb30f Don't allow std sources for AVR32 2007-08-01 09:06:04 +00:00
Ulf Samuelsson
cc04e4e27a Remove duplicate AVR kernel patches from BR2_BOARD_PATH/kernel_patches 2007-08-01 08:41:45 +00:00
Ulf Samuelsson
8b247c6186 Hint taken, Help text included 2007-07-31 22:57:19 +00:00
Bernhard Reutner-Fischer
371bc33889 - fixup whitespace 2007-07-31 15:39:23 +00:00
Bernhard Reutner-Fischer
41d8020398 - FIXME: Bug Ulf to provide a helptext
- fixup erroneous whitespace that prevents this to fit into an 80x24 terminal
2007-07-31 15:37:53 +00:00
Ulf Samuelsson
840325e170 Add support for prepatched toolchains 2007-07-31 14:59:58 +00:00
Bernhard Reutner-Fischer
165a61d58a - remove stray ';' 2007-07-30 14:22:25 +00:00
Bernhard Reutner-Fischer
59c867406d - test if dir exists before trying to rmdir it.
Fixes failure due to non-existing usr/share dir on the target.
2007-07-30 12:37:16 +00:00
Ulf Samuelsson
8171716310 Add AVR32 specific uclibc.config 2007-07-29 08:33:31 +00:00
Ulf Samuelsson
b3ef5c202f Use 1.6.0 config file for AT91 targets 2007-07-29 07:34:13 +00:00
Ulf Samuelsson
8f18f17a94 Cleanup of Atmel Makefile 2007-07-29 07:32:44 +00:00
Ulf Samuelsson
16e23c943b Update AVR32 target configuration 2007-07-29 07:22:12 +00:00
Ulf Samuelsson
331f357854 Cleanup of Atmel configuration 2007-07-29 07:19:44 +00:00
Ulf Samuelsson
b32a95eced Add atngw100 target 2007-07-29 07:17:01 +00:00
Ulf Samuelsson
afd718e7cd Add stk1002 target 2007-07-29 07:15:35 +00:00
Ulf Samuelsson
d9da157de9 Fix vi syntax highlighting in dataflashboot 2007-07-29 07:11:20 +00:00
Ulf Samuelsson
45c8379b67 Reintroduce ATMEL_MIRROR in at91bootstrap 2007-07-29 07:09:57 +00:00
Ulf Samuelsson
f310fff8ca Reintroduce ATMEL_MIRROR in dataflashboot 2007-07-29 07:06:05 +00:00
Ulf Samuelsson
0bddf714ea Reintroduce ATMEL_MIRROR in u-boot 2007-07-29 07:05:13 +00:00
Ulf Samuelsson
c2cabfa0bb Use linux headers version, if linux is not defined 2007-07-27 07:53:26 +00:00
Bernhard Reutner-Fischer
170300e045 - revert a part that was introduced with the PROJECT changes.
fixes unability to build a kernel (failed to find rule .patched)
2007-07-23 14:43:40 +00:00
Ulf Samuelsson
3b7b07a422 ATMEL_MIRROR needs to be available before toolchain is built 2007-07-22 17:17:03 +00:00
Ulf Samuelsson
a035d2300a Use a single ATMEL_MIRROR declaration + cleanup 2007-07-22 17:04:11 +00:00
"Steven J. Hill"
f82e442b98 Convert DOS to UNIX style. 2007-07-20 14:39:01 +00:00
Ulf Samuelsson
4ccf17da47 Fix Linux build if BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG is not defined 2007-07-20 12:03:54 +00:00
Ulf Samuelsson
12ceed6375 Add experimental linux target option 2007-07-20 11:27:45 +00:00
Ulf Samuelsson
e42f1e0491 Avoid repeated rebuild of u-boot 2007-07-20 11:13:22 +00:00
Ulf Samuelsson
545fb67351 Add linux kconfig for AT91SAM9260EK running from dataflashcard 2007-07-20 11:04:58 +00:00
Ulf Samuelsson
3aa79f7068 Cleanup of Atmel Makefile.in 2007-07-20 11:03:20 +00:00
Ulf Samuelsson
196cbc2ca3 Add default configuration for AT91SAM9260EK running from dataflashcard 2007-07-20 10:47:35 +00:00
Ulf Samuelsson
64733ddb08 Add patch for linux 2.6.22.1 2007-07-20 08:27:49 +00:00
Ulf Samuelsson
3c9ebe81c2 U-Boot cleanup 2007-07-20 07:54:21 +00:00
Ulf Samuelsson
fd9db1bd81 Add option for advanced linux configuration (experimental, only visible for Atmel targets) 2007-07-20 07:43:21 +00:00
"Steven J. Hill"
62b5ae4b66 Fix INITRAMFS target that was broken. Get rid of config stuff out of the top-level directory. Finally fix Linux kernel module building such that modules are built and installed first followed by rest of packages. This allows for packages to build external Linux kernel modules. 2007-07-18 18:07:19 +00:00
"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