Felix Fietkau
20400d4f3c
when building a package, make sure that older versions get removed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 01:00:01 +00:00
Nicolas Thill
f56894135c
disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-01 22:32:03 +00:00
Nicolas Thill
f9ce8738dd
cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
Felix Fietkau
d6db09f812
pass the CFLAGS through the environment on compile and fix a few packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:14:50 +00:00
Felix Fietkau
d13e8228b1
clean up package rebuild messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 01:35:13 +00:00
Felix Fietkau
c833d3eeb3
include section name in the package metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 12:21:39 +00:00
Felix Fietkau
e102b4f4a0
add maintainer to package metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-13 14:09:48 +00:00
Felix Fietkau
b2e87f2906
Fix the annoying base-files autorebuild bug.
...
When checking file mtimes in directories, timestamp.pl was following symlinks.
This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
Nicolas Thill
a8c810cbf9
prevent pkg-config from looking for .pc files on the host system
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 14:56:27 +00:00
Felix Fietkau
480866d036
allow package directories to override the path to configure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 14:36:56 +00:00
Felix Fietkau
7ac23daea9
build all packages in a package directory by default if DEVELOPER or SDK is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-30 21:39:37 +00:00
Felix Fietkau
52e3598376
fix collecting package metadata on freebsd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-27 03:33:19 +00:00
Felix Fietkau
ffeaf39fd4
fix pesky kmod-* ipkg install bug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-25 19:45:22 +00:00
Felix Fietkau
19940017a3
make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 23:11:02 +00:00
Nicolas Thill
c841d1f382
revert autotools files touching: it has side effects ( closes : #918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-05 20:12:42 +00:00
Florian Fainelli
130bb38a40
Move out autotools touching stuff to a macro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 23:31:38 +00:00
Florian Fainelli
62a31e4d34
Ok, third round, the right one, touch the file anyway, does not break other packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 23:16:09 +00:00
Florian Fainelli
ec4c17da2f
Update makefiles to use the autotools stuff put in the template, remove bogus stamp-h.in touching
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 23:01:45 +00:00
Florian Fainelli
8ee72f3793
Some more stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 22:55:16 +00:00
Florian Fainelli
a5dc6ed31b
Move out some generic code to prevent autotools from re-creating files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-02 22:44:38 +00:00
Nicolas Thill
efc2f3290c
strip third arg (dir name) to Build/Configure/Default macro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-22 21:15:55 +00:00
Felix Fietkau
f850ac7858
enable download target only if PKG_SOURCE_URL is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 17:32:49 +00:00
Felix Fietkau
780e628530
add sitefiles similar to the ones from openembedded
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 15:25:58 +00:00
Felix Fietkau
2d6750fb1d
fix unnecessary kernel package recompile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 06:38:06 +00:00
Felix Fietkau
ef6d8ae17a
change rm to rm -f to avoid bogus make messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 22:07:32 +00:00
Felix Fietkau
00becd7842
add PROVIDES option, currently only used for menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 19:01:08 +00:00
Felix Fietkau
f151b6ee70
check for empty patch directories
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 15:09:03 +00:00
Felix Fietkau
31512673e9
fix mistakes in unpack change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 13:04:50 +00:00
Felix Fietkau
75d681665a
move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 00:40:27 +00:00
Felix Fietkau
88cfd8ba43
don't include host.mk from rules.mk - confuses package dump
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 21:22:35 +00:00
Felix Fietkau
1873f0281a
add support for Package/<pkgname>/description - old format still supported, but deprecated
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 15:45:36 +00:00
Felix Fietkau
77acae652f
add support for a common shell include file, which is evaluated for every make shell call, simplify variable passing to the shell with shvar and shexport templates, use Package/<pkgname>/config for adding config.in data
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 15:30:50 +00:00
Felix Fietkau
443d4b8726
put LINUX_KARCH in .kernel.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 13:41:00 +00:00
Felix Fietkau
94be9a38e8
fix unnecessary package rebuild
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-08 02:35:10 +00:00
Felix Fietkau
a1c781bdae
speed up package prereq check (only run make on those directories that actually contain prereq checks)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-05 12:39:52 +00:00
Nicolas Thill
6c2f8db667
fix DESCRIPTION use in menuconfig and ipkg control files
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 21:17:17 +00:00
Nicolas Thill
0a084f64dc
add CXXFLAGS and PKG_CONFIG_PATH in Build/Configure/Default,
...
add EXTRA_LDFLAGS in Build/Compile/Default,
use consistent search order for includes in CFLAGS.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 02:09:45 +00:00
Mike Baker
1122cc635d
correct arguments to Build/Prepare/Default
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-18 21:56:07 +00:00
Felix Fietkau
c4e4e62c85
add quotes to ipkg name in the rebuild check
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 16:50:27 +00:00
Felix Fietkau
a20ad6d68d
don't run rebuild checks for dump and prereq
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 16:48:03 +00:00
Felix Fietkau
8eca9d20ea
add extra rebuild check for development libraries
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 12:48:22 +00:00
Felix Fietkau
3dd3ab4477
fix unnecessary rebuilds for library package directories with no selected packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-07 12:14:08 +00:00
Felix Fietkau
3e94d11f23
use an if block on the whole configure command
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 10:30:14 +00:00
Mike Baker
b5203a34fc
fix previous commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 10:26:30 +00:00
Felix Fietkau
2303e0bb0d
only run trap error code in the configure template, if the configure script was not found
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 10:24:11 +00:00
Mike Baker
1daaf3174b
Add new warning to help track down pesky compile issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-30 09:57:57 +00:00
Mike Baker
5995b4287e
tidy up output
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-17 00:33:27 +00:00
Mike Baker
13a20e720b
fix accidental tab
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-17 00:12:03 +00:00
Mike Baker
803b055b9d
Show error messages when collecting the package info
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-16 23:43:56 +00:00
Mike Baker
2ffe012ebb
set PATH in rules.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 11:59:52 +00:00