summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
AgeCommit message (Collapse)Author
2011-04-03build: move the SH_FUNC eval to the beginning of the opkg control file build ↵nbd
command chain, not in front of every single command git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03build: do not use shell calls to export empty opkg control files, speeds up ↵nbd
package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06[include] deploy .ipk archives with --force-maintainer to ensure that ↵jow
configs are kept up-to-date in case they exist already for various reasons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16[include] set Installed-Size to 0 when preparing control, its substituted by ↵jow
ipkg-build later on git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11[include] package-ipkg.mk: add support for "essential" package flag, fix typojow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized ↵mb
build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05[include] package-ipkg.mk: build sysupgrade keepfile hints out of conffiles ↵jow
not yet present in the package. This applies to config directories or files that do not exist but may be created by the user after package installation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04[include] correct default package status info (install -> unknown) - fixes ↵jow
"opkg_conf_write_status_files: Internal error: package ... has a NULL dest" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02[include] prime .ipk control files with Status: field to introduce hold for ↵jow
post flash installed packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02[include] add support for flagging packagesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is ↵juhosg
not defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12[package] opkg:jow
- implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-09[include] pass opkg offline root as command line arg, solves caching issues ↵jow
when switching between multiple subtargets, thanks Ralph Hempel for reporting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06[package] opkg: add --force-run-hooks option to run postinstall scripts in ↵jow
offline root mode, utilize it for host package install git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06[buildroot] use opkg/host for package installationjow
- 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-08-19speed up the ipkg build process some more by reordering commandsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19speed up the build system by including include/shell.sh on shell commands ↵nbd
only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28[buildsystem] revert r22372 and r22405, dependency on host libtool causes ↵jow
problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23[buildsystem] use host opkg for installing packages in buildroot and ↵jow
ImageBuilder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28Some dependencies that are depending on target are not added intohauke
the Depends line in the control file of the package. For example +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb does not result in kmod-ssb for the x86 target or any other target. This fixes #6874 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22build variants: only build opkg packages for the requested build variant (or ↵nbd
any if no variant was specified for the package) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03do not fail on empty packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03get rid of old data before staging unstripped package binariesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02build: when staging unstripped package files, install them to a temporary ↵nbd
directory first to work around file overwrite issues in packages like asterisk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20merge the control file and the .ipk file targets into one to prevent them ↵nbd
from going out of sync git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20fix multiple ipkg builds of the same arch but with different targets in the ↵nbd
same checkout git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-19when regenerating an ipkg package, make sure the entire ipkg build dir is ↵nbd
cleaned as well to prevent stale files from making it into the package after configuration changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17[package] ensure CONTROL directory is created (#5683)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08add target for library specific installations into the root staging dir, fix ↵nbd
ipkg build dependency on the package build stamp git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07add a staging directory for unstripped package files, useful for debugging, ↵nbd
will be used for mklibs integration later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change ↵nico
its value to suit opkg git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-11add an "Installed-Size" field to package control files, so that opkg could ↵nico
check needed vs. available storage space before installing a package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-27fix conditional depends in ipkg control filesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-03implement conditional dependencies for generating the Depends: field of ipkgsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28some minor fixes, cleanups, package build abstractionnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21add 'Provides:' line in ipkg control filesnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03move ipkg related vars from ./rules.mk to ./include/package-ipkg.mknico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's ↵nico
defined only once git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mknico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24combine the 3 find in a single onenico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09fix recursive dependencies on build directories - should lead to fewer ↵nbd
spontaneous rebuilds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29fixes for a few build errors on osx without finknbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15clean up dependency handling for autorebuildsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12revert find | xargs => find | exec changes - this is completely unnecessary ↵nbd
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-03Using find's -exec to remove directories causes 'not found' errors when find ↵mbm
tries to search the removed directory. Hopefully fixed now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02Use find -exec instead of xargsflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16re-enable SDK=1 and DEVELOPER=1 overrides for building all packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16formatting and trivial cleanupmbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16Add an 'Image Configuration' menu to menuconfignbd
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-15split package.mk and clean up build system code (based on patch by mbm), ↵nbd
makes the code more readable and speeds up metadata scan git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6571 3c298f89-4303-0410-b956-a3cf2f4a3e73