nbd
fb2ec8a718
add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:10:52 +00:00
nbd
209b854997
rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:55:53 +00:00
nbd
9ac4a336ea
move configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to make it possible to modify the configure command line without overriding the default template
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:10:32 +00:00
nbd
cd5ee7a7f4
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
nico
ae70769b82
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
nico
86b833a6c9
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
nbd
bbe1e39616
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
nbd
565304b8ef
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
nbd
7c9240f3e7
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
nbd
d7b0d6669f
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
nbd
f8c8554553
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
nico
a1cf766955
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
nbd
e7a64765ac
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
nbd
2a6a038b87
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
nbd
bfcaec7ec8
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
nbd
65c17ca3e2
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
nbd
e158d8b6a7
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
nico
6e0a58fe32
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
d5583787a6
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
dad0c9cb0c
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
a8f9543bbb
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
3603374bdf
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
aae7cc9657
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
nico
cd9b1ca0b1
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
nbd
da8bb7068e
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
nbd
c59803ea63
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
nbd
2b15bcf20e
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
nbd
45ef371e9b
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
nbd
15230af45d
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
nbd
ddbaed92a0
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
nbd
1cbc384d56
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
nbd
f6777ece94
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
nbd
711eed53f9
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
nbd
9ef9092432
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
nbd
34dbf787c3
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
nbd
bd97e26b6a
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
nbd
60c107b531
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
nbd
cf807efd13
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
nico
ba4845f765
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
nico
aafb639ffe
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
mbm
3399aaf35e
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
nbd
722a23d418
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
nbd
82453564bc
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
nbd
de399b7bdf
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
nbd
57127d8916
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
nbd
21842638d0
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
mbm
c9b650c269
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
nbd
eac6330602
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
mbm
91637acf54
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
mbm
282f9ebaca
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
mbm
ba906d9e77
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
mbm
c6753b5942
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
mbm
ef998d64e3
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
mbm
5d099491cf
fix everything I broke with the previous patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 09:14:20 +00:00
mbm
001227b780
more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 05:30:27 +00:00
mbm
65d0d16336
remove debug line
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 14:34:35 +00:00
mbm
d8ced17f8b
correct [4397]
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 13:57:33 +00:00
mbm
abbc644074
fix CONFIG_ALL
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 13:40:11 +00:00
mbm
0301816e6a
minor makefile tweaks
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 12:07:14 +00:00
nbd
432ce85854
add support for per-package prereq checks, run global prereq checks before (menu-)config
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-29 11:30:06 +00:00
mbm
3f07a6aa05
fix build issues with SMP compiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-28 17:53:19 +00:00
mbm
b1b9e3fadc
add more ipkg validation checks
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-26 01:01:09 +00:00
nbd
8b0bcee75e
add submenu dependencies (used to hide the proprietary broadcom driver on anything except for brcm-2.4)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 14:27:45 +00:00
mbm
121ce3b367
change 'source' to 'download'
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 17:28:05 +00:00
nbd
3001056795
make the buildroot-ng sdk compatible with the old packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 20:17:05 +00:00
nbd
1f181fae00
check if the Package/$(NAME) template is defined before packaging or installing ipkg packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 15:31:01 +00:00
mbm
e7359513be
rebuild ipkg control files if Makefile changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 23:21:08 +00:00
mbm
e9437d222f
add a new FORCEREBUILD option to Package/<name> to force a package to be rebuilt each time make is run
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-10 21:17:45 +00:00
mbm
02cdebbb91
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
nbd
5bd73a1205
move the broadcom driver stuff into its own submenu
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-25 16:05:43 +00:00
nbd
c32af7bf6c
remove stale reference to package/rules.mk - not that useful in the dependency handling anyway
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-22 01:00:13 +00:00
nbd
94266d6389
massive cleanup of toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 06:19:43 +00:00
nbd
859e8f7f7d
build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00