aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH setFelix Fietkau2016-01-311-0/+1
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-241-2/+2
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add opkg host dependencyFelix Fietkau2015-12-131-1/+1
| | | | | | | | | fixes a missing host opkg found by: unselect base-files, opkg Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-1/+1
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mklibs with muslMatteo Croce2015-06-251-1/+1
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: do another init script enabling run, fixes init scripts added via ↵Felix Fietkau2015-06-141-0/+4
| | | | | | | | files/ (#19857) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: trigger pacakge index creation for all feeds if requiredJo-Philipp Wich2015-05-261-1/+5
| | | | | | | | | When CONFIG_PER_FEED_REPO_ADD_DISABLED is set, trigger index creation for any available feed, regardless of whether there where binaries built or not. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow creating empty package feedsFelix Fietkau2015-05-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add integration for managing opkg package feed keysFelix Fietkau2015-04-061-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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