Commit Graph

57 Commits (be87c0dac9afe6fbfd21093cdadee97f01d6af7c)

Author SHA1 Message Date
Jo-Philipp Wich fabcdfae1e [imagebuilder] allow overriding BIN_DIR (#7412)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-26 14:15:52 +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 e80c77666f [imagebuilder] fix a small typo in sed pattern
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-10 15:40:42 +00:00
Jo-Philipp Wich ddeacdb51a [imagebuilder] fix arch detection pattern to cope with underscores in board name, e.g. "adm5120_mips"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-08 05:46:37 +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 67c1ba691d [imagebuilder] use --force-run-hooks for host opkg install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-07 21:22:07 +00:00
Jo-Philipp Wich e6b1eeef0c [buildroot] use opkg/host for package installation
- speeds up rebuild operations
	- aligns generated package list format with the one created by opkg on the target
	- fixes broken dependency handling in imagebuilder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:15:46 +00:00
Jo-Philipp Wich 503d7a462b [buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich fc7a57fa5d [buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +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 1a32f8d305 imagebuilder: don't disable on uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 11:42:41 +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
Jo-Philipp Wich 78ad6f8bbe [imagebuilder] remove dependency on CONFIG_ALL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:49:53 +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
Jo-Philipp Wich f784718c43 [imagebuilder] fix custom package selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-13 01:56:48 +00:00
Nicolas Thill 09eb477058 disable IB & SDK when using an external toolchain (closes: #6001)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 18:55:03 +00:00
Felix Fietkau 993973ca15 imagebuilder: accept empty profile names, some targets do not define profiles (thx, patrick)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 01:35:32 +00:00
Florian Fainelli 06cce51264 [imagebuilder] remove board name hack (#5823)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 16:06:53 +00:00
Andy Boyett 8956d292c4 [ImageBuilder] remove legacy 2.4-specific behavior, fixes IB on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:56 +00:00
Andy Boyett fbe393f9e8 [ImageBuilder] fix profile package selection, packages from last parsed profile were accidentally installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 07:24:50 +00:00
Nicolas Thill 742ee4ef0c [imagebuilder] fix initscripts activation (closes: #4037, #4745)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 11:20:25 +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
Andy Boyett 26e3c2d39a [ipkg] Generate gzipped package lists
- Can be used by changing the src line in /etc/ipkg.conf to src/gz
 - Cannot be used by busybox ipkg

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 03:36:11 +00:00
Felix Fietkau 639b7157f3 Detach the building of sdk and imagebuilder from "Select all packages
by default", since those really represent two distinct build
operations from normal package selection.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-19 08:16:02 +00:00
Florian Fainelli 932c5c28a0 Fix imagebuilder for 2.6 kernels (#2900)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 22:17:51 +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
Felix Fietkau 2504b75ada fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-10 20:21:09 +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
Mike Baker 478768159f fix bug in imagebuilder init.d scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-11 17:47:05 +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 0a89240a90 export the IMAGEBUILDER variable so that makefiles can test for the image builder run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 09:53:04 +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 556ff80527 mark uml as broken and add some cleanups (not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 18:25:14 +00:00
Felix Fietkau c6d265f356 ignore profiles with custom kernel configs in the image builder itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 04:03:35 +00:00
Felix Fietkau 76ba15fe00 disable the image builder in menuconfig for profiles with custom kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:56:54 +00:00
Felix Fietkau 6bf50a5091 rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 02:27:01 +00:00
Felix Fietkau 6a0580d1b2 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 12:56:55 +00:00
Felix Fietkau 599cf4f524 Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 12:35:00 +00:00