Commit Graph

55 Commits

Author SHA1 Message Date
Peter Korsgaard
32faf35112 Makefile: add target-finalize for common filesystem cleanup
And remove from each rootfs variant.
2009-04-07 21:04:31 +00:00
Peter Korsgaard
76e5c2988f target/jffs2: default to big endian format for big endian archs
Same logic as in target/Config.in.arch.
2009-04-07 19:22:50 +00:00
Peter Korsgaard
dbdd03601b target/jffs2: s/Memory Type/Flash Type/ 2009-04-07 19:22:46 +00:00
Peter Korsgaard
bd176bded3 target/jffs2: Put all sub options in a BR2_TARGET_ROOTFS_JFFS2 conditional
And get rid of all the individual 'depends on B2_TARGET_ROOTFS_JFFS2'
2009-04-07 19:22:43 +00:00
Peter Korsgaard
3b4a5f59e1 target: remove BR2_TARGET_ROOTFS_*_SQUASH options
Everything besides ubifs does an unconditional chown -R 0:0 anyway.
2009-04-07 19:22:37 +00:00
Peter Korsgaard
d290edadb9 fakeroot: install into HOST_DIR 2009-04-01 14:15:19 +00:00
Peter Korsgaard
7737b360df makedevs: install into HOST_DIR 2009-04-01 13:02:07 +00:00
Ulf Samuelsson
0fac1d7d4b Support large sector NAND flash for JFFS2 2009-01-12 00:43:22 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
8a00a1ac65 jffs2: cleanup
Patch by Markus Heidelberg <markus.heidelberg@web.de>

* remove needless help in invisible config options
* correct wrong indenting
* remove unused BR2 variables for default pagesize and devfile
2008-09-07 14:31:39 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Hamish Moffatt
72a85109f3 Fix typos in jffs2 summary support 2008-02-12 05:50:26 +00:00
Hamish Moffatt
536e98effd Add support for summarising JFFS2 images. With support in the kernel this improves mount time significantly. 2008-02-12 05:39:32 +00:00
Ulf Samuelsson
60e3d6db20 Update JFFS2 page/erase size correctly 2007-10-17 22:01:58 +00:00
Bernhard Reutner-Fischer
5cfb2f794f - fix some whitespace damage..
- add COPYTO settings for cpio and tar and remove that ugly hardcoded DATE from that was added by Ulf
2007-10-05 12:55:40 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
3649fd504d - workaround for broken external toolchains 2007-08-25 11:13:20 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +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
Ulf Samuelsson
5d2be04979 Move fakeroot temps from STAGING_DIR to PROJECT_BUILD_DIR 2007-08-16 18:19:42 +00:00
Peter Korsgaard
6c0c83fb56 Use cross ldconfig instead of host version 2007-08-08 14:58:47 +00:00
Ulf Samuelsson
7a3bccae42 Correct JFFS2 Erase Size for AT45 dataflash 2007-07-14 07:26:41 +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
"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
Peter Korsgaard
4cdef5138d s/FAKEROUTE/FAKEROOT/ 2007-05-03 08:25:17 +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
f94a44c3ad - use numeric values for the superuser to be more portable.
Closes #1250
2007-03-20 16:52:44 +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
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
180bc5941a - jffs2 requires the mtd package for the mtd-host tools. 2006-10-06 13:00:57 +00:00
Peter Korsgaard
ddcaf1444d mkfs.jffs2 doesn't like short form of pad option with arg 2006-08-22 08:03:19 +00:00
Mike Frysinger
b81bcbd229 Alessio Massaro writes: The syntax $VAR_NAME is used in several places. The correct syntax is actually $(VAR_NAME) 2006-04-21 01:23:35 +00:00
Eric Andersen
674d61d84b yet again... rework fakeroot handling to ensure fakeroot is invoked just once,
as it seems to sometimes lose values logged during from earlier invocations.
2006-04-10 22:49:48 +00:00
Eric Andersen
8cfa7aa965 As noted by jacmet in bug 824:
svn 14777 seems to have broken cramfs/squashfs/tarroot.

The problem is that $(IMAGE) is the absolute path of the image including
directories, so the build tries to access
$(STAGING_DIR)/_fakeroot.</full/path/to/buildroot/directory> which doesn't
exist.

The fix is to define CRAMFS/SQUASHFS/TAR_TARGET as $(notdir
$(IMAGE).<extension>) instead.
2006-04-10 17:48:53 +00:00
Eric Andersen
5418a92350 make sure things still work even when fakeroot is not in active use 2006-04-07 22:42:15 +00:00
Eric Andersen
ee66f55213 rework fakeroot handling to avoid races during parallel make causing several
fakeroot instances stomping eachother's temp files.
2006-04-07 20:30:43 +00:00
Mike Frysinger
2e31d32a0c touchup target menu display 2005-09-09 00:12:13 +00:00
Eric Andersen
d70e7f4f1e Prevent problems with fakeroot possibly trying to use stale host filesystem
inodes by carefully regenerating fakeroot.env from package specific files.
2005-08-08 07:53:10 +00:00
Eric Andersen
06c5ff4e82 minor cleanup for target handling 2005-08-08 06:57:43 +00:00
Mike Frysinger
ab3bf08f9c also need to depend on makedevs as noted by emalkowski in Bug #366 2005-08-08 00:42:49 +00:00
Mike Frysinger
f46ae35ac3 make sure we depend on fakeroot existing #366 by pnoffke 2005-08-08 00:41:40 +00:00
Eric Andersen
d1345f067e Allow packages to use fakeroot. To accomodate this, convert all
target filesystem creation tools to also use fakeroot.
2005-08-04 06:32:52 +00:00
Eric Andersen
5ef0c31bf4 Run ldconfig on the target rootfs to generate /etc/ld.so.cache 2005-07-14 23:30:39 +00:00
Ned Ludd
b4a0042677 - fix broken concatenated lines. reported by hermannb bug #216 2005-04-08 07:59:01 +00:00
Eric Andersen
d93b209d35 Fixup device table location 2005-03-09 17:30:20 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Mike Frysinger
cdd46741aa menuconfig -> config 2005-02-10 00:59:22 +00:00
Mike Frysinger
18e57618d7 touchup description to look like all the others 2005-02-09 19:15:06 +00:00