1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-01 00:41:41 +03:00
Commit Graph

66 Commits

Author SHA1 Message Date
blogic
58c0d0ae3f [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
nbd
3c5d4ad5a3 imagebuilder: explicitly install the kernel .ipk before installing anything else, it is no longer part of the package index (fixes #11450)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 14:00:01 +00:00
nbd
87e474d1bb build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
jow
9250e93065 [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
jow
9852ed4a44 [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
juhosg
619b319338 ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:20 +00:00
jow
def4e4e08f [imagebuilder] Various enhancements from Manuel Munz <freifunk@somakoma.de>
- don't regenerate Package index unless the packagedir changes
	- remove opkg lists from rootfs, saves > 1MB uncompressed
	- don't direct errors on index creation into packagelist


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-09 17:25:20 +00:00
nbd
6bca9273dd imagebuilder: clean opkg files if requested (patch from #9866)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 23:58:11 +00:00
jow
e593f00fc1 [PATCH 2/2] Send ipkg-make-index.sh output to stdout
The "Generating index for package" created by ipkg-make-index only
clutter stderr and serve to push previous warnings/errors off-screen.
Instead, send to stdout.

Note:  This would send incorrect invocation messages to stdout as well.
If this is a concern, perhaps we could send them to FD 3, then send 3 to
2...

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 22:59:57 +00:00
jow
791839d763 [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
jow
6361121a9f [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
jow
a0e32e9e33 [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
jow
12bb9fe75f [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
jow
cbcb7e2471 [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
jow
67f09fa245 [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
jow
8ffdced268 [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
jow
a2fd8e26d1 [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
jow
55da36a1f2 [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
jow
ebd96b6723 [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
jow
a6a5ceb103 [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
nico
af50db9d92 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
nico
87d817ac8c 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
jow
3439dece43 [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
juhosg
770be264bf 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
jow
7c22456d9d [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
nico
3f7cccc322 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
nbd
5641ac5c04 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
5953c890c0 [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
agb
76fb3b55c9 [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
agb
571f211cd6 [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
nico
0738089ffd [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
nbd
796a9d1091 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
nico
ac9bdf20c8 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
nbd
b2f91a7a4a 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
agb
0ec8fc1383 [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
nbd
8a40bf1097 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
2b34935d2a 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
nbd
5d0bc04a7e 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
nbd
4cfa503b9e 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
nbd
c3cd9cb9ab 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
nbd
d895ddd832 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
ecf7b9c1bc 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
066bbc6bd5 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
44de7e58b4 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
nbd
70e09c2296 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
a442d1daee 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
mbm
9c5c412127 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
nbd
bca7ac77bf 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
nbd
1fc0508a9b 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
nbd
99ba699421 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