hauke
c98b63ed59
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.
This fixes #6874
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:22:59 +00:00
nbd
a4b548a00d
build variants: only build opkg packages for the requested build variant (or 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-11-22 07:08:39 +00:00
nbd
6dcd15c933
do not fail on empty packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 02:53:13 +00:00
nbd
b0d4ac6f4d
get rid of old data before staging unstripped package binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 01:10:37 +00:00
nbd
8e7e55ae9d
build: when staging unstripped package files, install them to a temporary 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-09-02 19:01:09 +00:00
nbd
6a26e8186b
merge the control file and the .ipk file targets into one to prevent them from going out of sync
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:48:41 +00:00
nbd
23910e915a
fix multiple ipkg builds of the same arch but with different targets in the same checkout
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 14:04:40 +00:00
nbd
a5ee1ea114
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-19 15:12:54 +00:00
florian
cc636d65a0
[package] ensure CONTROL directory is created ( #5683 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17 10:14:25 +00:00
nbd
33da501107
add target for library specific installations into the root staging dir, fix 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-08 02:24:37 +00:00
nbd
b69805034d
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
nico
dc14c8ff2a
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:13:01 +00:00
nico
9eba705f93
add an "Installed-Size" field to package control files, so that opkg could 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-12-11 20:15:41 +00:00
nbd
6290f02fd2
fix conditional depends in ipkg control files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-27 17:24:27 +00:00
nbd
d7bb78e92d
implement conditional dependencies for generating the Depends: field of ipkgs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-03 14:37:55 +00:00
nbd
b26d576fd7
some minor fixes, cleanups, package build abstraction
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:23:56 +00:00
nico
5b3d59f1da
add 'Provides:' line in ipkg control files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 10:05:00 +00:00
nico
39a3cef8d7
move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 06:46:44 +00:00
nico
3a3a2c6d81
move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 12:42:48 +00:00
nico
6a948981a3
move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 11:55:01 +00:00
nico
54ca5395e8
combine the 3 find in a single one
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:05:30 +00:00
nbd
5c30e74105
fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 22:47:01 +00:00
nbd
bca7ac77bf
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
nbd
9beaac95cf
clean up dependency handling for autorebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 18:28:24 +00:00
nbd
99ba699421
revert find | xargs => find | exec changes - this is completely unnecessary 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-12 19:18:38 +00:00
mbm
a7b8d6784e
Using find's -exec to remove directories causes 'not found' errors when find 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-03 11:56:08 +00:00
florian
e3bbc7fac1
Use find -exec instead of xargs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:09:15 +00:00
nbd
a5b59b1fbf
re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:20:19 +00:00
mbm
752d6b39f1
formatting and trivial cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 06:12:53 +00:00
nbd
a1aed6ae61
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
nbd
11817df895
split package.mk and clean up build system code (based on patch by mbm), 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
2007-03-15 23:57:18 +00:00