aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipkg: add a default postinst/prerm scriptJohn Crispin2014-09-111-1/+2
| | | | | | | | | | | the postinst script enables/starts the init.d scripts upon package installation and installs the users required by the package. the prerm script stops and disables the init.d scripts. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: consider sub-directories when deploying packages to image with ↵Jo-Philipp Wich2014-08-071-1/+1
| | | | | | | | CONFIG_PER_FEED_REPO (#17430) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-4/+17
| | | | | | | | | This changeset implements a new menuconfig option to generate separate repositories for each enabled package feed instead of one monolithic one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/Makefile: Substituted deprecated -perm +mode with -perm /modeJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | The find(1) -perm +mode is no longer supported and has been deprecated since 2005. This could resolve #13855 ticket. Signed-off-by: Rocco Folino <lordzen87@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: ignore failed downloads with IGNORE_ERRORSJo-Philipp Wich2014-05-141-0/+1
| | | | | | | | | | When IGNORE_ERROR is set, also skip broken downloads, this is required to make a full "make download" run even if some upstream sources are unreachable. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: use .config instead of unconditionally enabling all build dirsFelix Fietkau2014-03-131-5/+2
| | | | | | | | Call make defconfig on every build to catch newly added packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix installation of default-variant packages when the source package ↵Felix Fietkau2014-03-121-1/+1
| | | | | | | | has multiple variants (#15237) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/index: fix index creating when building without signingSteven Barth2013-10-021-4/+4
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add package signing infrastructureSteven Barth2013-10-021-3/+28
| | | | | | | | | | | | | Add package signing key and certificate configuration options to the "Image configuration" submenu. If enabled, the Packages.gz list will be signed as file Packages.sig. The passphrase for the signing key can be sourced from a file or entered by the user. The signing certificate is automatically added to the firmware image if opkg-smime is selected. Signed-off-by: Evan Hunt <each@isc.org> Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mklibs: Fix mklibs usage when *.so files reside in subdirsFelix Fietkau2013-08-261-5/+3
| | | | | | | | | | | Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables to mklibs. However, other libs can also reside in different subdirectories (in my case /usr/lib/ipsec). Hence, create the list of library directories dynamically. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix IGNORE_ERRORS for sources packages that match both 'y' and 'm'Felix Fietkau2013-07-181-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: only install packages for selected variants, fixes building multiple ↵Felix Fietkau2012-12-131-2/+13
| | | | | | variant selections in one tree git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: use file_copy to deploy files/ in the package/install phaseJo-Philipp Wich2012-12-021-9/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: isolate the .install stamp files for build variants (#12279)Jo-Philipp Wich2012-11-071-7/+7
| | | | | | | | 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
* build: add back the package/cleanup step to remove the root staging dir for ↵Felix Fietkau2012-10-151-1/+5
| | | | | | mklibs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: rework the package/install step - collect package install lists ↵Felix Fietkau2012-10-061-11/+33
| | | | | | during package/compile, then install all packages at once git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mklibs: update to 0.1.34 (v2)Luka Perkov2012-06-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] make sure that base-files is installed last, this allows ↵Jo-Philipp Wich2011-06-081-1/+1
| | | | | | per-target base-file overlays to work correctly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove postinst files for preinstalled packagesFelix Fietkau2011-03-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 2/2] Send ipkg-make-index.sh output to stdoutJo-Philipp Wich2011-02-231-1/+1
| | | | | | | | | | | | | | | | 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
* allow files/ to overwrite existing symlinks (fixes #3508)Felix Fietkau2011-01-231-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make IGNORE_ERRORS apply to deselected packages as well (typically triggered ↵Felix Fietkau2010-11-021-1/+1
| | | | | | through dependencies) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23796 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] revert r22372 and r22405, dependency on host libtool causes ↵Jo-Philipp Wich2010-07-281-5/+4
| | | | | | problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildsystem] make base-files dependent on opkg host compile, fixes install ↵Jo-Philipp Wich2010-07-271-5/+2
| | | | | | 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
* [buildsystem] use host opkg for installing packages in buildroot and ↵Jo-Philipp Wich2010-07-231-4/+8
| | | | | | ImageBuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* this patch fixes package/Makefile.Travis Kemen2010-03-051-2/+4
| | | | | | -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix opkg directory cleaning (#5646)Felix Fietkau2009-10-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* decrease verbosity of mklibs.pyFelix Fietkau2009-08-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* integrate mklibs.py support into the build processFelix Fietkau2009-08-081-0/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a staging directory for unstripped package files, useful for debugging, ↵Felix Fietkau2009-08-071-1/+1
| | | | | | will be used for mklibs integration later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix enabling of init scripts.Lars-Peter Clausen2008-09-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ipkg] Generate gzipped package listsAndy Boyett2008-07-291-3/+5
| | | | | | | - 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
* add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packagesFelix Fietkau2008-05-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the sdkFelix Fietkau2007-12-141-3/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option for cleaning all ipkg info before the image buildFelix Fietkau2007-10-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix image preconfigurationEugene Konev2007-09-211-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a dependency bugFelix Fietkau2007-08-301-10/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵Felix Fietkau2007-08-071-8/+8
| | | | | | 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
* fix package/indexFelix Fietkau2007-08-011-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix rootfs and init script handlingFelix Fietkau2007-07-311-7/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove unnecessary depsFelix Fietkau2007-07-301-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-3/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more cleanupFelix Fietkau2007-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* next round of build system cleanup - convert package/ to new structureFelix Fietkau2007-07-301-58/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07Felix Fietkau2007-07-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix parallel build issuesFelix Fietkau2007-07-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/refresh should clean all packages before refreshing their patchesFelix Fietkau2007-06-041-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all ↵Felix Fietkau2007-06-041-2/+9
| | | | | | | | | 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