Commit Graph

427 Commits (eb8992fc75e7ae5c1255519e60a94e7db4eed469)

Author SHA1 Message Date
Felix Fietkau fc0a873b83 build: fix IGNORE_ERRORS for sources packages that match both 'y' and 'm'
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-18 16:44:44 +00:00
Felix Fietkau 5ee3e74ec9 build: only install packages for selected variants, fixes building multiple variant selections in one tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 13:07:01 +00:00
Jo-Philipp Wich 6acaf2e470 package: use file_copy to deploy files/ in the package/install phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:38 +00:00
Jo-Philipp Wich ee76e2804a buildroot: isolate the .install stamp files for build variants (#12279)
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 16:15:22 +00:00
Felix Fietkau 136f00bfb2 build: add back the package/cleanup step to remove the root staging dir for mklibs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 13:19:45 +00:00
Felix Fietkau 6683f47568 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-06 16:01:06 +00:00
Luka Perkov 57c29c33cb [tools] mklibs: update to 0.1.34 (v2)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 17:07:46 +00:00
Jo-Philipp Wich 9ba991dcf1 [package] make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 19:38:25 +00:00
Felix Fietkau a4f2f1ed3a remove postinst files for preinstalled packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 23:47:08 +00:00
Jo-Philipp Wich 610af758c1 [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
Felix Fietkau c7c47ef489 allow files/ to overwrite existing symlinks (fixes #3508)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-23 20:59:13 +00:00
Felix Fietkau b2a72cfcdd make IGNORE_ERRORS apply to deselected packages as well (typically triggered through dependencies)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 16:38:57 +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 0a99e514e7 [buildsystem] make base-files dependent on opkg host compile, fixes install errors when package/compile and package/install are invoked separately
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 22:26:13 +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
Travis Kemen b9c5d6edc9 this patch fixes package/Makefile.
-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:28:52 +00:00
Felix Fietkau 1f0c5ad7aa fix opkg directory cleaning (#5646)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-06 04:50:53 +00:00
Felix Fietkau ebf64f2c5c decrease verbosity of mklibs.py
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:37:59 +00:00
Felix Fietkau edf9cf7699 integrate mklibs.py support into the build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:25:03 +00:00
Felix Fietkau 079bbf2ee7 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 21:58:35 +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
Lars-Peter Clausen a5adc7a52c Fix enabling of init scripts.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 00:23:59 +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 9f1c5d418a add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 16:45:00 +00:00
Felix Fietkau b85354ab6e fix the sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 00:33:25 +00:00
Felix Fietkau c947d8532b add option for cleaning all ipkg info before the image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 21:52:05 +00:00
Eugene Konev dbd4e0eee6 fix image preconfiguration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 17:01:46 +00:00
Felix Fietkau 485f2e16f4 fix a dependency bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 22:43:25 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau 3312543ae1 fix package/index
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-01 08:21:15 +00:00
Felix Fietkau 48ed3043e3 fix rootfs and init script handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 22:54:21 +00:00
Felix Fietkau 8186b8e98e remove unnecessary deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:22:38 +00:00
Felix Fietkau 03ffe176e5 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Felix Fietkau afb0255875 more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:39:20 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau b78269d614 add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 15:28:59 +00:00
Felix Fietkau eae69f1e83 fix parallel build issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 12:50:16 +00:00
Felix Fietkau ac587815b0 package/refresh should clean all packages before refreshing their patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:20:03 +00:00
Felix Fietkau 80d2beea9d Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all the patches.
Also added a target package/refresh which will do this to all packages in the buildroot


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:14:08 +00:00
Felix Fietkau 414e3ef71a Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:16:08 +00:00
Felix Fietkau 9e22d8e89c make sure that /etc/rc.d exists before creating symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 12:05:37 +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 83ca922ac2 clean up version control junk in the rootfs directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 16:29:07 +00:00
Felix Fietkau bc665de231 add missing -prepare target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-20 19:04:23 +00:00
Felix Fietkau b5a2c2c241 revert package compile breakage introduced in [6936]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 12:35:49 +00:00
Mike Baker 2f6de831ee minor tweaks to the verbose system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 22:59:42 +00:00
Mike Baker 0f8b8ec000 Tidy up Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 23:03:56 +00:00
Felix Fietkau 9d5cc6d86b fix the sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-26 20:17:28 +00:00
Felix Fietkau 2479edd86b speed up package/install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 02:54:16 +00:00
Felix Fietkau 97276e7bf0 Add an 'Image Configuration' menu to menuconfig
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00