Commit Graph

41 Commits (f9be8880e7d07f311c9f7cee2e291ef21bfc6ceb)

Author SHA1 Message Date
Jo-Philipp Wich c6241cff96 imagebuilder: align filename with SDK
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:48 +00:00
Jo-Philipp Wich 50bd81d3df imagebuilder: don't pregenerate package index, strip host binaries
The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 12:31:31 +00:00
Jo-Philipp Wich 24d181ebd5 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:27:06 +00:00
Jo-Philipp Wich a8bb90bd2f build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 11:02:00 +00:00
John Crispin 495ae89711 imagebuilder: fix typo that copied grub to the wrong folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 15:46:12 +00:00
John Crispin 8909ffc7dd imagebuilder: copy dts folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:42:00 +00:00
John Crispin 8596ba6e34 imagebuilder: x86 fails to build inside the imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:31 +00:00
Felix Fietkau 1904d51b94 target/imagebuilder: add missing package index (fixes #16675)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:27:31 +00:00
Jo-Philipp Wich 5a8f0b0f4c imagebuilder: bundle dtc (#12953, #14741)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 12:29:36 +00:00
John Crispin 727249a95d [target] derive system from hostcc to allow building inside a chroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 15:07:32 +00:00
Jo-Philipp Wich a719519ec6 [iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:26 +00:00
John Crispin 73804551c6 [imagebuilder] add $(SUBTARGET) to the filename if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 18:04:15 +00:00
Jo-Philipp Wich d52ae4d7d3 [imagebuilder] don't overwrite version.mk, substitute REVISION instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 09:31:16 +00:00
Jo-Philipp Wich 81efe748e3 [imagebuilder] populate repositories.conf from version.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 23:08:13 +00:00
Jo-Philipp Wich f40416daf3 [imagebuilder] copy kernel .config, needed by mkfs.jffs2 to detect compression capabilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 13:34:21 +00:00
Jo-Philipp Wich 339c2a4dc4 [imagebuilder]
- sync with host opkg changes
	- get rid of autogenerated opkg.conf
	- utilize dl/ as package cache, useful for remote downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 22:04:09 +00:00
Jo-Philipp Wich c2739d2e24 [imagebuilder]
- add a helper script to generate opkg.conf, attempt to detect package architecture from packages/
	- fix package defaults when no package override is given, IB previously aggregated the defautls of all profiles
	- introduce a repositories.conf, allows using remote opkg repositories in imagebuilder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-08 00:36:35 +00:00
Jo-Philipp Wich 0d25a79aa1 [imagebuilder]
- correctly copy .config when scripts/env is used in the buildroot
	- prevent user provides PACKAGES from overriding per-profile defaults


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 22:16:40 +00:00
Nicolas Thill 75b21b145a imagebuilder: various fixes
* only copy host tools from $(STAGING_DIR_HOST)/bin
 * remove more target patches, and also target files
 * combine the 3 find commands into a single one



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 11:41:51 +00:00
Gabor Juhos a189e15a78 imagebuilder: add REVISION variable (closes #6795)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:00:46 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Nicolas Thill 54bcffc5e0 fix ImageBuilder (closes: #3863)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 13:45:54 +00:00
Felix Fietkau 87cd6ef1b4 some more build system cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 11:14:13 +00:00
Felix Fietkau a43ffde508 strip -$(KERNEL) from sdk/imagebuilder names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 22:31:56 +00:00
Felix Fietkau 57be620de9 fix imagebuilder compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 21:04:21 +00:00
Felix Fietkau 17391bc30b Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 18:53:06 +00:00
Felix Fietkau 6ec8091bd5 fix the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14 23:11:07 +00:00
Florian Fainelli 2d25027e2d Fix the imagebuilder generation (does not mean it works with the recent changes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 15:09:10 +00:00
Florian Fainelli 68746e3f95 Fix image builder generation (#2213)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-14 09:47:29 +00:00
Florian Fainelli 93b2d4d831 Fix the imagebuilder compilation (#2213)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:30:54 +00:00
Florian Fainelli c3656e08ca Suppress spaces in uname -m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 16:48:10 +00:00
Felix Fietkau f460eb1cdb fixes for a few build errors on osx without fink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00
Felix Fietkau 1cabba028e revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 19:18:38 +00:00
Mike Baker 8ca5f319f7 Accidentially broke sdk and imagebuilder in [6857]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 23:29:02 +00:00
Mike Baker 5e0a1aea7a more [6849]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 13:59:07 +00:00
Florian Fainelli 7a5a2cec7a Use find -exec instead of xargs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:09:15 +00:00
Felix Fietkau 407075b86b include .pkginfo in image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 01:38:31 +00:00
Felix Fietkau 2cf3780bea Fix config checks for Image Builder and SDK - only build them when requested.
Clear all packages from bin/packages at the beginning of package/compile when the Image Builder is selected, because the Image Builder can't handle multiple versions of the same package.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 23:37:40 +00:00
Felix Fietkau e28c2f8e9d include .targetinfo in the image builder, and allow direct calls to the package_index target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 10:49:00 +00:00
Felix Fietkau d4101c248a force rebuild of the imagebuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-11 09:49:43 +00:00
Felix Fietkau 53aef8417d Add initial version of the new Image Builder
It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 21:52:28 +00:00