53 Commits (164dd71afe46c929302c2ea58aa75ac58d2e62c4)

Author SHA1 Message Date
Nicolas Thill 6d6e379922 include/package-ipkg.mk: fix typo in r29449 13 years ago
Gabor Juhos 091894764b include/package-ipkg.mk: don't add vi backup files to packages 13 years ago
Nicolas Thill a930a79e08 include/package-ipkg.mk: fix typo 13 years ago
Felix Fietkau 8a0d981006 build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command 13 years ago
Felix Fietkau f6a0d67e7c build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450 13 years ago
Jo-Philipp Wich dcb66b0593 deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons 14 years ago
Jo-Philipp Wich bad3c4865d set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on 14 years ago
Jo-Philipp Wich e09767beea package-ipkg.mk: add support for "essential" package flag, fix typo 14 years ago
Michael Büsch 9d61a9b1c6 Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build. 14 years ago
Jo-Philipp Wich f3a5085903 package-ipkg.mk: build sysupgrade keepfile hints out of conffiles 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. 14 years ago
Jo-Philipp Wich 8ae1a4fc69 correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest" 14 years ago
Jo-Philipp Wich cb4c39b55d prime .ipk control files with Status: field to introduce hold for post flash installed packages 14 years ago
Jo-Philipp Wich 8b9ca16985 add support for flagging packages 14 years ago
Gabor Juhos b5b21d03c4 package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined 14 years ago
Jo-Philipp Wich 9bb6f3b5f3 opkg: - 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 14 years ago
Jo-Philipp Wich 6cbd09df64 pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting 14 years ago
Jo-Philipp Wich b1edd2ac6e opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install 14 years ago
Jo-Philipp Wich 9d74fc3eb3 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 14 years ago
Felix Fietkau d9e0d5705a speed up the ipkg build process some more by reordering commands 14 years ago
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary 14 years ago
Jo-Philipp Wich e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems 14 years ago
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder 14 years ago
Hauke Mehrtens 3dd6909c20 Some dependencies that are depending on target are not added into 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. 14 years ago
Felix Fietkau f1da5431bb build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package) 15 years ago
Felix Fietkau c4b197737e do not fail on empty packages 15 years ago
Felix Fietkau d1f1ff5759 get rid of old data before staging unstripped package binaries 15 years ago
Felix Fietkau e6ceb1cace build: when staging unstripped package files, install them to a temporary directory first to work around file overwrite issues in packages like asterisk 15 years ago
Felix Fietkau 822615cb6b merge the control file and the .ipk file targets into one to prevent them from going out of sync 15 years ago
Felix Fietkau 59d130d867 fix multiple ipkg builds of the same arch but with different targets in the same checkout 15 years ago
Felix Fietkau 2bb863f337 when regenerating an ipkg package, make sure the entire ipkg build dir is cleaned as well to prevent stale files from making it into the package after configuration changes 15 years ago
Florian Fainelli 7f36797bb7 ensure CONTROL directory is created (#5683) 15 years ago
Felix Fietkau b0bf5fd9a0 add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp 15 years ago
Felix Fietkau 4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later 15 years ago
Nicolas Thill 1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg 16 years ago
Nicolas Thill 0bbd70070f add an "Installed-Size" field to package control files, so that opkg could check needed vs. available storage space before installing a package 16 years ago
Felix Fietkau 38b513811c fix conditional depends in ipkg control files 16 years ago
Felix Fietkau cdcc68d689 implement conditional dependencies for generating the Depends: field of ipkgs 16 years ago
Felix Fietkau 800ef0f56c some minor fixes, cleanups, package build abstraction 17 years ago
Nicolas Thill 7d50df6224 add 'Provides:' line in ipkg control files 17 years ago
Nicolas Thill 3f80599cda move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk 17 years ago
Nicolas Thill 3e47314ccb move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once 17 years ago
Nicolas Thill d21941ca4d move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk 17 years ago
Nicolas Thill e9fba2c56b combine the 3 find in a single one 17 years ago
Felix Fietkau 56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds 17 years ago
Felix Fietkau 874f03ea00 fixes for a few build errors on osx without fink 17 years ago
Felix Fietkau 449a4f4079 clean up dependency handling for autorebuilds 17 years ago
Felix Fietkau 3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need 17 years ago
Mike Baker 0359c6222e Using find's -exec to remove directories causes 'not found' errors when find tries to search the removed directory. Hopefully fixed now. 18 years ago
Florian Fainelli 6cd84c6838 Use find -exec instead of xargs 18 years ago
Felix Fietkau 198a3ae713 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages 18 years ago