Commit Graph

813 Commits

Author SHA1 Message Date
Felix Fietkau
7866f69cbe spurious initramfs breakage fix
SVN-Revision: 11670
2008-07-05 22:11:22 +00:00
Imre Kaloz
492ba57b56 update targets to 2.6.25.10
SVN-Revision: 11667
2008-07-05 16:52:15 +00:00
Felix Fietkau
171e7134db improve xargs compatibility check (mostly Darwin/Mac OS X related)
SVN-Revision: 11613
2008-07-01 21:38:28 +00:00
Imre Kaloz
dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Gabor Juhos
4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Felix Fietkau
dea3f68b35 use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems
SVN-Revision: 11515
2008-06-16 21:57:57 +00:00
Felix Fietkau
351b6391bf add another check to the dependencies
SVN-Revision: 11475
2008-06-15 14:50:41 +00:00
Felix Fietkau
980b80ddc6 fix typo
SVN-Revision: 11474
2008-06-15 14:49:00 +00:00
Felix Fietkau
8b41afa584 add some sanity checking
SVN-Revision: 11473
2008-06-15 14:34:00 +00:00
Felix Fietkau
0249312a64 remove accidentally committed swap file
SVN-Revision: 11461
2008-06-13 15:29:07 +00:00
Felix Fietkau
d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
2008-06-13 15:28:31 +00:00
Imre Kaloz
2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Felix Fietkau
80e70b78fd fix make menuconfig/oldconfig
SVN-Revision: 11415
2008-06-09 16:21:20 +00:00
Felix Fietkau
4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
Felix Fietkau
6fd92eece4 allow parallel downloading for make download
SVN-Revision: 11411
2008-06-09 15:38:19 +00:00
Gabor Juhos
5ee91fef1e strip kernel version from image names
SVN-Revision: 11398
2008-06-07 17:43:36 +00:00
Imre Kaloz
40a175150e upstream style quilt refresh
SVN-Revision: 11350
2008-06-04 13:10:52 +00:00
Imre Kaloz
83072a149a override user/system specific quilt configuration
SVN-Revision: 11295
2008-05-30 13:51:06 +00:00
Gabor Juhos
f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
Travis Kemen
7c7bd6f61c This patch makes kernel modules check if config is defined and creates a config passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11139
2008-05-15 00:57:50 +00:00
Nicolas Thill
e93e293b41 add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels (closes: #3402)
SVN-Revision: 11115
2008-05-11 20:56:51 +00:00
Nicolas Thill
648a6a6546 add 'getgrgid' to uClibc site config, needed after glib2 update in [11088]
SVN-Revision: 11093
2008-05-09 06:59:08 +00:00
Nicolas Thill
cf1e8abcdf remove dup iptables in default package set
SVN-Revision: 11091
2008-05-08 22:57:12 +00:00
Felix Fietkau
02bc11903e fix kernel config on kernel_menuconfig abort
SVN-Revision: 11076
2008-05-08 15:52:55 +00:00
Nicolas Thill
a7b3ffc182 cosmetic change: rename IPT_NAT_DEFAULT & IPT_NAT_EXTRA to IPT_NATHELPER & IPT_NATHELPER_EXTRA respectively, to better match package names
SVN-Revision: 11073
2008-05-08 11:32:46 +00:00
Felix Fietkau
31a3a503cc add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
SVN-Revision: 11059
2008-05-07 16:45:00 +00:00
Gabor Juhos
d7d8665572 update to 2.6.25.1 and refresh patches
SVN-Revision: 11006
2008-05-02 10:17:03 +00:00
Gabor Juhos
3c05234962 kmod-ipt-iprange: fix build error on .25
SVN-Revision: 10992
2008-04-30 15:42:10 +00:00
Felix Fietkau
2448cb8a15 add optional version suffix to kernel files/ directories
SVN-Revision: 10972
2008-04-28 22:01:14 +00:00
Imre Kaloz
68943e35c2 upgrade to 2.6.24.5
SVN-Revision: 10959
2008-04-28 10:23:36 +00:00
Andy Boyett
d4be84eee8 Fix typo in last commit
SVN-Revision: 10942
2008-04-26 07:51:38 +00:00
Andy Boyett
4f478ce546 Remove old feeds symlink in distclean. Thanks fish - Fixes duplicate package entries when coming from pre r10634
SVN-Revision: 10941
2008-04-26 07:49:41 +00:00
Nicolas Thill
6275f4a608 uClibc should actually support va_copy
SVN-Revision: 10906
2008-04-21 22:04:27 +00:00
Nicolas Thill
ddc57879ec add a gpio feature for devices supporting the generic GPIO interface
SVN-Revision: 10879
2008-04-20 09:46:45 +00:00
Imre Kaloz
08dc68c9df add proper 2.6.25 support
SVN-Revision: 10865
2008-04-19 15:20:44 +00:00
Gabor Juhos
d80f43d15f update iptables to 1.4.0 (2.6 kernels only), refresh kernel patches
SVN-Revision: 10843
2008-04-15 06:11:23 +00:00
Florian Fainelli
54a5d8fb77 Clean files in scripts/config (#3011)
SVN-Revision: 10723
2008-04-03 19:08:59 +00:00
Felix Fietkau
03354353af clean up reject files after copying target/linux/*/files to the kernel tree
SVN-Revision: 10722
2008-04-03 18:37:30 +00:00
Florian Fainelli
30f8862033 layer7 filtering module is now xt_layer7 (#3268)
SVN-Revision: 10674
2008-03-27 18:24:13 +00:00
Ralph Hempel
a30fcc0db6 "make distclean" should remove "package/feeds" thanks to Robert P. J. Day
SVN-Revision: 10650
2008-03-24 09:52:14 +00:00
Felix Fietkau
a4920f613a remove obsolete symlinkclean target the new make package/symlinks does not need it.
SVN-Revision: 10622
2008-03-19 08:17:56 +00:00
Travis Kemen
d650dae3a2 Add bin/ directory as an argument of make distclean Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 10612
2008-03-17 23:57:31 +00:00
Felix Fietkau
82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Imre Kaloz
3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Felix Fietkau
1d31c17938 add missing dependency for the target metadata scan
SVN-Revision: 10436
2008-02-09 19:53:20 +00:00
Felix Fietkau
f09555425c enable uci by default
SVN-Revision: 10369
2008-02-03 07:30:39 +00:00
Gabor Juhos
c8d5db0698 fix generation of cpio.gz images
SVN-Revision: 10310
2008-01-29 10:51:52 +00:00
Imre Kaloz
5303deecf1 generic 2.6.24 support
SVN-Revision: 10291
2008-01-28 13:36:09 +00:00
Ralph Hempel
9e0be1c6e3 fix buildprocess if running as cron job (package info files corrupted due missing Source-Makefile statement)
SVN-Revision: 10273
2008-01-26 12:19:45 +00:00
Gabor Juhos
0a6bf50432 bump to 2.6.23.14 on x86, ixp4xx, rb532, adm5120
SVN-Revision: 10208
2008-01-16 09:44:11 +00:00
Felix Fietkau
178721f76b update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom-wl to a contributed version (v4.150.10.5) - no bcm57xx support yet, will follow shortly
SVN-Revision: 10137
2008-01-06 19:28:07 +00:00
Felix Fietkau
f75b9f6815 fix packages that use -f on other build system makefiles
SVN-Revision: 10088
2008-01-03 02:12:46 +00:00
Florian Fainelli
162f0194a1 Fix typo
SVN-Revision: 10084
2008-01-02 15:18:24 +00:00
Florian Fainelli
eff65775c4 Add CVS download method #2947
SVN-Revision: 10083
2008-01-02 15:14:31 +00:00
Felix Fietkau
56d0ebea38 fix ntpd compile
SVN-Revision: 10057
2007-12-30 16:41:08 +00:00
Florian Fainelli
d1cb21fb01 We also need bzero and bcmp to be put in there
SVN-Revision: 10050
2007-12-30 04:03:42 +00:00
Felix Fietkau
a1a07442e6 fix net-snmp compile
SVN-Revision: 10047
2007-12-30 03:55:53 +00:00
Felix Fietkau
edbbf145d5 add cpio.gz support (patch from #2595)
SVN-Revision: 9986
2007-12-28 15:46:01 +00:00
Andy Boyett
6343c3be59 expunge find GNUism
SVN-Revision: 9955
2007-12-27 11:31:27 +00:00
Felix Fietkau
585a9ff548 fix libtool version checks in some configure scripts
SVN-Revision: 9943
2007-12-27 02:11:11 +00:00
Felix Fietkau
5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
2007-12-27 02:11:07 +00:00
Felix Fietkau
28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
2007-12-27 02:10:54 +00:00
Felix Fietkau
713087f64c add a configurable prefix for ./configure
SVN-Revision: 9938
2007-12-27 02:10:50 +00:00
Andy Boyett
d9ec7366c7 Disabling use of libintl in kconfig.
SVN-Revision: 9934
2007-12-26 22:21:56 +00:00
Andy Boyett
ec849ba7c8 use printf instead of echo
SVN-Revision: 9932
2007-12-26 20:54:39 +00:00
Felix Fietkau
3de5e1d29a clean up after staging packages
SVN-Revision: 9909
2007-12-25 02:19:48 +00:00
Felix Fietkau
957103c337 add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
SVN-Revision: 9905
2007-12-25 01:39:15 +00:00
Felix Fietkau
3c228ee88f add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
SVN-Revision: 9853
2007-12-23 00:41:40 +00:00
Felix Fietkau
f0b363667b add STAGING_DIR_HOST to PKG_CONFIG_PATH
SVN-Revision: 9850
2007-12-23 00:41:01 +00:00
John Crispin
ff74bb872b added packkage-version overriding, Signed-off-by: ralph <ralph.hempel@infineon.com>
SVN-Revision: 9813
2007-12-20 22:20:32 +00:00
Gabor Juhos
ff0eceb98f add md5 sum of the 2.6.23.11 tarball
SVN-Revision: 9799
2007-12-18 18:43:13 +00:00
John Crispin
a49f06f5e7 fixed copy paste error
SVN-Revision: 9792
2007-12-17 22:24:40 +00:00
Felix Fietkau
2da3f6a256 fix the sdk
SVN-Revision: 9747
2007-12-14 00:33:25 +00:00
Felix Fietkau
51996a78f1 clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
SVN-Revision: 9723
2007-12-13 06:25:54 +00:00
Felix Fietkau
5de58125bd add prereq check for gnu find
SVN-Revision: 9710
2007-12-11 22:28:10 +00:00
Felix Fietkau
40ab15892d Abstracted find to $(FIND) to allow use of gfind on non-GNU systems.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9659
2007-12-05 18:45:20 +00:00
Felix Fietkau
edc74f8cc3 fix make clean for unconfigured build trees
SVN-Revision: 9655
2007-12-04 03:04:37 +00:00
Felix Fietkau
b217ebd0e6 enforce gnu make >= 3.81 now. it has become too annoying to work around bugs in 3.80
SVN-Revision: 9654
2007-12-04 03:00:29 +00:00
Felix Fietkau
40840d495f add shell compatibility patch from #2659
SVN-Revision: 9643
2007-11-30 21:58:18 +00:00
Felix Fietkau
5526395594 fix kernel config related build error
SVN-Revision: 9640
2007-11-30 17:22:44 +00:00
Felix Fietkau
d1b4f5b54f include the kernel config for kernel related packages (should fix some b43 compile issues)
SVN-Revision: 9635
2007-11-30 09:43:08 +00:00
Gabor Juhos
bb44c9a6de switch to 2.6.23.9
SVN-Revision: 9629
2007-11-29 08:51:59 +00:00
Felix Fietkau
407b75436d fix build issues that happen when the staging dir is cleared and the build directories stay
SVN-Revision: 9588
2007-11-20 22:43:38 +00:00
Eugene Konev
4735a0f5fe add external kernel tree support
SVN-Revision: 9584
2007-11-20 13:21:01 +00:00
Felix Fietkau
5a9cdef549 prefer http downloads over svn/git checkouts, remove git dependency
SVN-Revision: 9567
2007-11-16 04:10:01 +00:00
Felix Fietkau
87d0b29540 better scope handling for the configured stamp
SVN-Revision: 9566
2007-11-16 03:48:43 +00:00
Felix Fietkau
224760dee7 add git checkout support
SVN-Revision: 9553
2007-11-16 03:10:40 +00:00
Felix Fietkau
4a87a0464b fix copy&paste mistake
SVN-Revision: 9551
2007-11-15 12:35:51 +00:00
Felix Fietkau
dfa7618bd6 fix the image builder
SVN-Revision: 9549
2007-11-14 23:11:07 +00:00
Felix Fietkau
2cb6cbf061 fix quilt apply for packages that change STAMP_*
SVN-Revision: 9531
2007-11-10 22:51:02 +00:00
Felix Fietkau
db87e1f8c1 fix parallel build issues
SVN-Revision: 9495
2007-11-04 11:42:47 +00:00
Felix Fietkau
5d901efb9e increase scan depth to 5 for package/ (x.org is nested deeper than the rest of the packages)
SVN-Revision: 9487
2007-11-03 12:13:23 +00:00
Felix Fietkau
e66a211078 fix default downloads from svn
SVN-Revision: 9471
2007-10-31 22:37:56 +00:00
Felix Fietkau
41815ee5c8 add feature flag for display support. will be used as dependency for x.org
SVN-Revision: 9448
2007-10-25 21:08:46 +00:00
Florian Fainelli
486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
Felix Fietkau
881bac2db2 Allow targets to specify extra initramfs source files
The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated
list of source files (or directories). This allows a platform to
add extra components to the initramfs image, by defining the
INITRAMFS_EXTRA_FILES make var.

By default, we add a simple initramfs extra file for the generic-2.6
platform, which specifies a few device nodes.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9410
2007-10-23 06:23:29 +00:00
Felix Fietkau
4a142953ea Use current UID for initramfs root user:group
Set the CONFIG_INITRAMFS_ROOT_{U,G}ID kernel variables to the current
user, so that all files end up being owned by root in the final
initramfs image.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9409
2007-10-23 06:23:26 +00:00
Felix Fietkau
4bb2c88f4e don't specify "CC=<nothing>" on kernel build command line
If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build
command-line. We don't always need CC, as the CROSS_COMPILE flag does
the job instead. In fact, specifying CC messes up the build when we're
using a biarch compiler.

This change doesn't specify CC= if the KERNEL_CC variable is empty.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9408
2007-10-23 06:23:23 +00:00
Felix Fietkau
d8e032edef don't replace powerpc arch with ppc
'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.

This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9405
2007-10-23 06:23:12 +00:00
Felix Fietkau
ac40a80f35 make aliases for package targets if the package directories are in further subdirectories example: if there is a package/libs/foo/compile, then package/foo/compile will be an alias for it
SVN-Revision: 9384
2007-10-21 07:18:10 +00:00
John Crispin
9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00
Felix Fietkau
86a906bed2 reorganize subtargets, sort subtargets below top level targets
SVN-Revision: 9378
2007-10-20 19:10:06 +00:00
Felix Fietkau
99aed44487 fix quilt update breakage for kernel related packages
SVN-Revision: 9368
2007-10-20 15:30:18 +00:00
John Crispin
9b467b5b28 remove whitespaces
SVN-Revision: 9354
2007-10-18 20:30:18 +00:00
John Crispin
7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
2007-10-14 04:49:05 +00:00
Felix Fietkau
af03fdb6c5 add autorebuild check for menuconfig
SVN-Revision: 9301
2007-10-14 02:28:34 +00:00
John Crispin
1a3c4d1090 add possibility to set default .config values
SVN-Revision: 9300
2007-10-14 02:15:37 +00:00
Gabor Juhos
4e05416c39 netfilter/ipset cleanups * rename patches to follow our naming conventions * update ipset patches with revision 7096 of [https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng pom] * add CONFIG_IP_NF_SET_IPTREEMAP to default kernel configs * add ip_set_iptreemap to include/netfilter.mk * update kmod-ipt-ipset module description
SVN-Revision: 9269
2007-10-12 14:58:35 +00:00
Eugene Konev
72f5fa6b92 sync for 2.6.23-final
SVN-Revision: 9234
2007-10-10 06:20:25 +00:00
Felix Fietkau
1120a73f43 remove feeds dir on distclean
SVN-Revision: 9215
2007-10-09 04:13:19 +00:00
Felix Fietkau
c3a2acf7db only run svn info if .svn exists
SVN-Revision: 9213
2007-10-09 03:37:31 +00:00
John Crispin
5a4b6b5f4e changed pkg_install_files so one can specify the folder to install from
SVN-Revision: 9192
2007-10-08 19:49:11 +00:00
John Crispin
215fa7eb8b added generation of x86 livecds, from #2391
SVN-Revision: 9191
2007-10-08 18:53:19 +00:00
Gabor Juhos
8309e3dff2 add TARPIT support to netfilter/iptables * netfilter: add the xt_TARPIT target module required by xt_CHAOS * include/netfilter.mk: reorder, xt_CHAOS depends on xt_TARPIT and xt_DELUDE * iptables: add libipt_TARPIT to the kmod-ipt-extra package, bump release number * original patchset can be found [http://tinyurl.com/2mjk2kx here]
SVN-Revision: 9178
2007-10-07 17:17:04 +00:00
John Crispin
33ecac1f24 added a function, that packages can call to make installing files/folders much cleaner and easier
SVN-Revision: 9171
2007-10-07 01:55:03 +00:00
Felix Fietkau
4af66e8866 fix accidental double slash in prefixed quilt patchsets
SVN-Revision: 9166
2007-10-07 00:16:50 +00:00
Felix Fietkau
e2e8d55dcc allow targets to select/deselect config symbols
SVN-Revision: 9150
2007-10-05 21:44:43 +00:00
Felix Fietkau
5f87e72dae fix quilt patch check
SVN-Revision: 9121
2007-10-04 17:58:12 +00:00
Felix Fietkau
7d179076ca separate series file fixup from quilt check to avoid series file breakages after fixing a broken patch stack with quilt
SVN-Revision: 9120
2007-10-04 15:32:55 +00:00
Gabor Juhos
e12359aa29 fix target profiles, (closes: 2440)
SVN-Revision: 9113
2007-10-03 19:22:51 +00:00
Tim Yardley
458ce0cb5c fix quilt integration
SVN-Revision: 9100
2007-10-02 21:54:22 +00:00
Felix Fietkau
85f3be6310 fix target profiles
SVN-Revision: 9099
2007-10-02 17:43:57 +00:00
Felix Fietkau
e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
2007-09-29 04:29:11 +00:00
Felix Fietkau
d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
2007-09-29 03:39:57 +00:00
Felix Fietkau
5f1d42ea7c refactor quilt patching code
SVN-Revision: 9061
2007-09-29 03:28:03 +00:00
Felix Fietkau
97b6135462 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
SVN-Revision: 9060
2007-09-29 01:21:56 +00:00
Felix Fietkau
03543ec4a4 proper series file support for regular packages
SVN-Revision: 9059
2007-09-29 00:25:38 +00:00
Felix Fietkau
894bd2f7dc use $(TAR) instead of tar
SVN-Revision: 9058
2007-09-29 00:16:33 +00:00
Felix Fietkau
dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00
Felix Fietkau
969ac7459e add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
2007-09-28 01:45:11 +00:00
Felix Fietkau
800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +00:00
Nicolas Thill
0bf90f2a0d add ipv6 conntrack support (closes: #2192)
SVN-Revision: 8984
2007-09-23 17:22:17 +00:00
Felix Fietkau
f8dfc57573 add initial version of a package feeds management script
SVN-Revision: 8973
2007-09-23 02:39:01 +00:00
Nicolas Thill
fec4d9ee3c add missing 2.6 conntrack/nat helpers, add 2.6 conntrack/nat helper for RTSP (closes: #2297, thanks to aorlinsk), sync 2.4 / 2.6 kconfigs.
SVN-Revision: 8955
2007-09-22 18:37:24 +00:00
Nicolas Thill
7d50df6224 add 'Provides:' line in ipkg control files
SVN-Revision: 8906
2007-09-21 10:05:00 +00:00
Felix Fietkau
e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
2007-09-20 16:17:50 +00:00
Nicolas Thill
f5f47e1fbd cosmetic cleanup before more deep changes
SVN-Revision: 8870
2007-09-20 10:48:54 +00:00
Nicolas Thill
f6197eabda fix typo again (do i need some sleep?)
SVN-Revision: 8822
2007-09-17 01:51:57 +00:00
Nicolas Thill
dcf795770c oops, fix typo
SVN-Revision: 8816
2007-09-16 22:41:24 +00:00
Nicolas Thill
8c7105e20a remove (unused?) linux symlink in BUILD_DIR
SVN-Revision: 8804
2007-09-16 16:28:50 +00:00
Nicolas Thill
892b16a352 revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
SVN-Revision: 8798
2007-09-16 16:10:37 +00:00
Nicolas Thill
ac2af6affa allow targets for override generic config (GENERIC_LINUX_CONFIG:=/dev/null) for testing purposes
SVN-Revision: 8796
2007-09-16 14:09:57 +00:00
Nicolas Thill
420f252a58 quote LINUX_VERSION to avoid shell errors at DUMP time
SVN-Revision: 8795
2007-09-16 14:08:23 +00:00
Nicolas Thill
5011d6129c prevent include/netfilter.mk from being included multiple times
SVN-Revision: 8781
2007-09-15 16:19:26 +00:00
Felix Fietkau
986445a623 properly clean up after kernel_{old,menu}config
SVN-Revision: 8737
2007-09-11 00:14:37 +00:00
Felix Fietkau
749cefa063 fix custom series files in kernel patch directories
SVN-Revision: 8736
2007-09-10 23:01:45 +00:00
Felix Fietkau
e83d637f65 fix kernel build with quilt
SVN-Revision: 8727
2007-09-10 04:21:21 +00:00
Felix Fietkau
01b6a90e3d fix kernel_menuconfig
SVN-Revision: 8726
2007-09-10 01:04:57 +00:00
Florian Fainelli
6a06ccf9b6 Package the statistics module for netfilter
SVN-Revision: 8716
2007-09-09 18:32:06 +00:00
Felix Fietkau
0c9b23594d fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
SVN-Revision: 8697
2007-09-08 23:33:01 +00:00
Felix Fietkau
e63e1f7a4a add support for device type based package preselections
SVN-Revision: 8696
2007-09-08 21:30:25 +00:00
Felix Fietkau
87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau
a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau
56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00
Nicolas Thill
af0b91ca90 allow scan.mk to find python packages introduced in [8639]
SVN-Revision: 8641
2007-09-06 03:20:48 +00:00
Nicolas Thill
9f6bd2c07b remove uneeded stuff after python changes in [8639]
SVN-Revision: 8640
2007-09-06 02:57:06 +00:00
Nicolas Thill
c0033f360c fix typo (thanks to jonasg[1] on irc)
SVN-Revision: 8618
2007-09-05 08:59:44 +00:00
Nicolas Thill
5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
SVN-Revision: 8592
2007-09-03 09:06:03 +00:00
Nicolas Thill
8dc7ced4d4 require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
SVN-Revision: 8591
2007-09-03 08:58:14 +00:00
Nicolas Thill
e5e03321f9 tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
SVN-Revision: 8590
2007-09-03 08:44:08 +00:00
Nicolas Thill
6a6fa5a4ab provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
2007-09-03 07:51:56 +00:00
Nicolas Thill
3f80599cda move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
SVN-Revision: 8581
2007-09-03 06:46:44 +00:00
Nicolas Thill
02cd6d278f use a default VERSION field for kmod packages
SVN-Revision: 8575
2007-09-02 16:39:27 +00:00
Nicolas Thill
6a8ab4c0be fix .dep_files exclusion in rdep calls
SVN-Revision: 8567
2007-09-01 05:20:21 +00:00
Felix Fietkau
761dc0a0ae fix a dependency bug
SVN-Revision: 8561
2007-08-30 22:43:25 +00:00
Felix Fietkau
5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00
Felix Fietkau
9566fb1f07 allow the kernel to provide own series files for specific subdirs
SVN-Revision: 8557
2007-08-30 21:11:17 +00:00
Felix Fietkau
d475d94aab avoid rdep in the top level make process (subdir.mk) - it leaks too much memory and increases the startup time for regular make commands. timestamp.pl is more lightweight here
SVN-Revision: 8533
2007-08-29 03:51:49 +00:00
Florian Fainelli
39cbeec7b2 Add a PyMod template for python related modules
SVN-Revision: 8522
2007-08-28 12:41:39 +00:00
Nicolas Thill
bfa6ac2eab revert [8473] (see [8055])
SVN-Revision: 8499
2007-08-27 02:04:35 +00:00
Nicolas Thill
75123bd131 prevent ldconfig use in autoconf based packages
SVN-Revision: 8496
2007-08-26 18:34:24 +00:00
Nicolas Thill
1b226e4de1 add a '@KERNEL' download facility, tweak script
SVN-Revision: 8495
2007-08-26 18:21:24 +00:00
Nicolas Thill
b35e6fe3ba include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
SVN-Revision: 8494
2007-08-26 13:26:02 +00:00
Nicolas Thill
3e47314ccb move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
SVN-Revision: 8491
2007-08-26 12:42:48 +00:00
Nicolas Thill
615a81cb65 move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
SVN-Revision: 8485
2007-08-25 14:50:17 +00:00
Nicolas Thill
655a446b17 add support for KernelPackage/*/description
SVN-Revision: 8484
2007-08-25 14:43:15 +00:00
Nicolas Thill
d21941ca4d move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
SVN-Revision: 8481
2007-08-25 11:55:01 +00:00
Nicolas Thill
1ad12c1eeb fix netfilter quota module
SVN-Revision: 8479
2007-08-24 12:23:52 +00:00
Nicolas Thill
4b23cac27b replace xargs commands with $(XARGS)
SVN-Revision: 8478
2007-08-24 12:10:14 +00:00
Nicolas Thill
e9fba2c56b combine the 3 find in a single one
SVN-Revision: 8477
2007-08-24 12:05:30 +00:00
Florian Fainelli
3c5ed20fd0 Fix the error on the quota extension (#2080)
SVN-Revision: 8472
2007-08-23 16:14:17 +00:00
Florian Fainelli
6741194c15 Add back physdev (#2216)
SVN-Revision: 8466
2007-08-23 15:21:22 +00:00
Nicolas Thill
b4318f53f9 rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
SVN-Revision: 8462
2007-08-22 16:15:00 +00:00
Florian Fainelli
c994e41757 Make the libtool fix more dynamic
SVN-Revision: 8461
2007-08-22 09:13:42 +00:00
Nicolas Thill
5440728b06 add 2 helper macros to deal with libtool madness
SVN-Revision: 8457
2007-08-21 20:51:46 +00:00
Nicolas Thill
ba05b57573 rename 'stampfiles' directory to 'stamp'
SVN-Revision: 8455
2007-08-21 18:07:55 +00:00
Florian Fainelli
4be843d65b Move to 2.6.22.4
SVN-Revision: 8451
2007-08-21 10:06:01 +00:00
Felix Fietkau
3df35f0b09 revert [8415], seems to be causing problems for the kernel build
SVN-Revision: 8418
2007-08-16 13:44:57 +00:00
Felix Fietkau
c2d5c1c0c2 always include kernel config for kernel packages
SVN-Revision: 8415
2007-08-15 23:33:37 +00:00
Florian Fainelli
0860346ff0 Add a requireheader for squid, should fix it (#2205)
SVN-Revision: 8404
2007-08-12 11:53:23 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
d6666fdd40 fix image installation
SVN-Revision: 8324
2007-08-03 01:21:41 +00:00
Felix Fietkau
0f74fa296c fix kmod packages that don't use KCONFIG
SVN-Revision: 8323
2007-08-02 23:49:31 +00:00
Felix Fietkau
21075a17f7 fix kmod packaging for packages where some KCONFIG symbols are set to y
SVN-Revision: 8316
2007-08-02 13:38:03 +00:00
Felix Fietkau
99368862e4 Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
SVN-Revision: 8256
2007-07-31 00:52:27 +00:00
Felix Fietkau
23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
2007-07-30 23:52:17 +00:00
Felix Fietkau
40c1241377 silence
SVN-Revision: 8252
2007-07-30 23:04:24 +00:00
Felix Fietkau
7b6d8470c6 same for host builds
SVN-Revision: 8246
2007-07-30 21:48:39 +00:00
Felix Fietkau
9bf7beae60 speed up the prepare step a bit
SVN-Revision: 8245
2007-07-30 21:47:26 +00:00
Felix Fietkau
88163e91e8 ignore dependencies when using QUILT
SVN-Revision: 8244
2007-07-30 21:30:18 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
a7b635f075 more cleanup
SVN-Revision: 8238
2007-07-30 18:39:20 +00:00
Felix Fietkau
bec2fe7c6c remove CONFIG_JLEVEL. use make -j in the future
SVN-Revision: 8237
2007-07-30 18:24:47 +00:00
Felix Fietkau
49e628f765 next round of build system cleanup - convert package/ to new structure
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
f1ac6cf7ec fix compile errors with make 3.80
SVN-Revision: 8230
2007-07-30 15:00:27 +00:00
Felix Fietkau
e23c6c4b6b fix verbose output with dash as /bin/sh
SVN-Revision: 8227
2007-07-30 14:50:15 +00:00
Felix Fietkau
0d70676b9a add default command for dummy targets
SVN-Revision: 8209
2007-07-28 14:36:21 +00:00
Felix Fietkau
e143bed1f1 build system fixes, more cleanup
SVN-Revision: 8207
2007-07-28 13:29:03 +00:00
Felix Fietkau
9c88ba80b9 more build system cleanup
SVN-Revision: 8206
2007-07-28 13:00:43 +00:00
Felix Fietkau
9acbd52239 allow target specific builddir list override
SVN-Revision: 8204
2007-07-28 03:01:10 +00:00
Felix Fietkau
48d57c4ba8 add missing flag
SVN-Revision: 8203
2007-07-28 02:54:50 +00:00
Felix Fietkau
02a7e555de don't force the install->compile, compile->prepare dependencies in subdir.mk
SVN-Revision: 8202
2007-07-28 02:53:54 +00:00
Felix Fietkau
81529c47ec initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
SVN-Revision: 8201
2007-07-28 02:44:55 +00:00
Felix Fietkau
109f15b54c ignore filenames that can cause problems for the recursive dependency handling
SVN-Revision: 8171
2007-07-26 11:32:13 +00:00
Nicolas Thill
24cabede56 remove the @ and change the comment from [8107] (closes: #2122)
SVN-Revision: 8166
2007-07-26 06:43:29 +00:00
Felix Fietkau
291ff1fd7e do dynamic kernel config changes for netfilter as well
SVN-Revision: 8119
2007-07-23 03:23:46 +00:00
Felix Fietkau
1883949d79 add better working-g++ check (patch from #2017)
SVN-Revision: 8118
2007-07-23 02:56:30 +00:00
Felix Fietkau
35d116c85b more dependency fixes
SVN-Revision: 8115
2007-07-23 02:41:33 +00:00
Nicolas Thill
f2a32fff7d fix jffs2 images
SVN-Revision: 8107
2007-07-22 18:29:59 +00:00
Felix Fietkau
7ff45c5adb disable kmod packages where the KCONFIG options are =y
SVN-Revision: 8086
2007-07-20 22:25:14 +00:00
Felix Fietkau
075883e85b reorder, xt_CHAOS depends on xt_DELUDE
SVN-Revision: 8084
2007-07-20 20:54:54 +00:00
Felix Fietkau
793b09b854 really fix tgz images
SVN-Revision: 8065
2007-07-19 18:20:56 +00:00
Florian Fainelli
f59b6f6089 Fix the tgz image build
SVN-Revision: 8042
2007-07-18 14:40:57 +00:00
Felix Fietkau
7031534325 prevent the new config changes from interfering with kernel_menuconfig
SVN-Revision: 8031
2007-07-18 12:05:59 +00:00
Felix Fietkau
8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
2007-07-18 11:31:01 +00:00
Felix Fietkau
5175e0e45c fail in .quilt_patched when there were patches that didn't apply
SVN-Revision: 8024
2007-07-18 07:28:31 +00:00
Peter Denison
b375d32a48 cope with QUILT=1 when there are no patches
SVN-Revision: 8022
2007-07-17 20:05:08 +00:00
Florian Fainelli
e5520b8853 Add ipt_random module
SVN-Revision: 8014
2007-07-17 08:47:44 +00:00
Felix Fietkau
e8918b0f66 better support for handling various jffs2 eraseblock sizes
SVN-Revision: 8011
2007-07-16 22:06:45 +00:00
Felix Fietkau
6178152ee8 add kernel_oldconfig target
SVN-Revision: 8003
2007-07-16 10:03:03 +00:00
Felix Fietkau
3e87d642f7 detect whether the find command supports -L or -follow
SVN-Revision: 8002
2007-07-16 07:19:45 +00:00
Felix Fietkau
2809e403d6 find: use -follow instead of -L, some systems don't support -L
SVN-Revision: 8000
2007-07-16 06:35:00 +00:00
Felix Fietkau
0806675217 kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
SVN-Revision: 7997
2007-07-16 05:28:13 +00:00
Felix Fietkau
25b44d2c12 follow symlinks in package scan
SVN-Revision: 7984
2007-07-15 23:38:09 +00:00
Felix Fietkau
de2aa28c4c properly support dependencies on packages that just use Build/DefaultTargets
SVN-Revision: 7983
2007-07-15 23:36:02 +00:00
Felix Fietkau
7b16475eb7 fixes for recursive package scanning
SVN-Revision: 7982
2007-07-15 23:16:47 +00:00
Felix Fietkau
bdc9419a20 rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
SVN-Revision: 7981
2007-07-15 22:51:12 +00:00
Felix Fietkau
84027d8d76 clean up some leftover junk
SVN-Revision: 7959
2007-07-13 08:33:20 +00:00
Felix Fietkau
e670647412 fix unwanted automatic package cleaning when using quilt
SVN-Revision: 7956
2007-07-13 07:17:17 +00:00
Mike Baker
be6a41df04 bump to 2.6.22.1
SVN-Revision: 7915
2007-07-11 10:57:49 +00:00
Felix Fietkau
a817b45169 reorganize netfilter modules, get rid of the iptables-mod-extra dependency in qos-scripts
SVN-Revision: 7912
2007-07-11 06:47:33 +00:00
Felix Fietkau
d8ced3b2ff 2.6.22 is released :)
SVN-Revision: 7894
2007-07-09 02:23:00 +00:00
John Crispin
648cf7c524 added i686 support and profile for t-vision s100
SVN-Revision: 7890
2007-07-08 16:11:40 +00:00
Gabor Juhos
259ff05f84 reordered GENERIC_PATCH_DIR variable
SVN-Revision: 7824
2007-07-01 11:44:50 +00:00
Felix Fietkau
5fe0203420 merge the kernel config parts at dump time, so that overrides that disable certain features work
SVN-Revision: 7812
2007-06-30 21:49:25 +00:00
Felix Fietkau
6c4ee48f92 fix kernel config feature autodetection
SVN-Revision: 7811
2007-06-30 21:42:57 +00:00
Felix Fietkau
379b5e9cba fix the value of ac_cv_sizeof_off_t in the sitefiles (reported by crazy_imp)
SVN-Revision: 7804
2007-06-30 18:27:21 +00:00
Felix Fietkau
d3dea9d2c6 add portability fixes from #1720
SVN-Revision: 7791
2007-06-30 12:21:58 +00:00
Felix Fietkau
68d6dcf7c4 allow packages to override the patch directory using the PATCH_DIR variable
SVN-Revision: 7750
2007-06-28 07:14:22 +00:00
Felix Fietkau
41af082667 fill in the kernel version info for every target, move the kernel tarball md5sums to a central place
SVN-Revision: 7748
2007-06-28 05:52:00 +00:00
Felix Fietkau
8cff3db999 add nat module fix from #1772
SVN-Revision: 7727
2007-06-25 09:55:07 +00:00
Felix Fietkau
a344cd47ed fix the tar invocation in kernel build (#1935)
SVN-Revision: 7686
2007-06-21 15:50:01 +00:00
Felix Fietkau
5a198850d0 make sure quilt starts with the correct patch order in series
SVN-Revision: 7658
2007-06-18 00:11:27 +00:00
Felix Fietkau
f019ac4dc9 prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
SVN-Revision: 7644
2007-06-16 01:56:04 +00:00
John Crispin
aedf7085c1 autoconf preset for cris, so libpcap compiles
SVN-Revision: 7598
2007-06-12 20:57:44 +00:00
Felix Fietkau
7ca5a975fe fix a typo
SVN-Revision: 7587
2007-06-12 13:14:24 +00:00
Imre Kaloz
e440525a26 upgrade to 2.6.21.5
SVN-Revision: 7579
2007-06-12 10:27:28 +00:00
Felix Fietkau
ca0140018b only apply recursive deps if DUMP is unset
SVN-Revision: 7572
2007-06-11 17:19:43 +00:00
Felix Fietkau
282d841947 upgrade to linux 2.6.21.4
SVN-Revision: 7563
2007-06-11 13:38:48 +00:00
Felix Fietkau
4c8ecf00c4 force build of packages when using quilt
SVN-Revision: 7539
2007-06-08 19:01:55 +00:00
Imre Kaloz
08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
2007-06-08 10:44:01 +00:00
Imre Kaloz
6fb68cb589 use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
2007-06-08 10:37:20 +00:00
Tim Yardley
35d1063a75 package ipset for use
SVN-Revision: 7517
2007-06-07 15:30:59 +00:00
Imre Kaloz
72823077cd add support for jffs2 filesystems with 256k blocksize, fix taishan support
SVN-Revision: 7506
2007-06-05 20:55:21 +00:00
Felix Fietkau
9abbe7a033 Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all the patches. Also added a target package/refresh which will do this to all packages in the buildroot
SVN-Revision: 7488
2007-06-04 11:14:08 +00:00
Felix Fietkau
9cc960cad9 more fixes for the patching stuff (was testing it on the wrong target)
SVN-Revision: 7483
2007-06-03 19:52:54 +00:00
Felix Fietkau
6992efe2bb revert bogus change
SVN-Revision: 7482
2007-06-03 19:43:52 +00:00
Felix Fietkau
ca69ff39c8 fix quilt related unpack/patch error
SVN-Revision: 7481
2007-06-03 19:39:34 +00:00
Florian Fainelli
bec24f113b quilt is now a preriquisite
SVN-Revision: 7480
2007-06-03 16:48:28 +00:00
Felix Fietkau
3b6b7a2d1b implement quilt handling for the kernel tree ... and there was much rejoicing!
SVN-Revision: 7474
2007-06-03 08:28:05 +00:00
Felix Fietkau
5e406f0a28 enable quilt for host builds and add some additional checks
SVN-Revision: 7473
2007-06-03 07:33:00 +00:00
Felix Fietkau
396895e6d8 Improve quilt patch handling: All quilt managed patches are checked before the package compile is attempted
SVN-Revision: 7472
2007-06-03 06:54:46 +00:00
Felix Fietkau
cc690d782c Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').

SVN-Revision: 7471
2007-06-03 06:16:08 +00:00
Florian Fainelli
908b616d8e Add iprange (#1799)
SVN-Revision: 7462
2007-06-02 22:57:33 +00:00
Felix Fietkau
3e8bdad848 fix typo introduced in last commit
SVN-Revision: 7416
2007-05-31 11:06:19 +00:00
Mike Baker
0a79809ba1 fix typo
SVN-Revision: 7415
2007-05-31 10:20:48 +00:00
Felix Fietkau
fb2abbee4b fix typo
SVN-Revision: 7414
2007-05-31 09:57:47 +00:00
Felix Fietkau
ea3fc57b08 netfilter dscp target/match is now in xtables
SVN-Revision: 7407
2007-05-30 14:54:28 +00:00
Florian Fainelli
22a6072cd4 Call the Initramfs template if existing
SVN-Revision: 7394
2007-05-30 10:29:50 +00:00
Felix Fietkau
a6b90ed0a4 fix up tcpmss for the new kernel version
SVN-Revision: 7345
2007-05-26 18:18:37 +00:00
Felix Fietkau
2555097cc6 fix target rescan (version kernel changes)
SVN-Revision: 7317
2007-05-23 21:11:48 +00:00
Imre Kaloz
615e8af841 break trunk temporary - upgrade to 2.6.21.1 and iptables 1.3.7
SVN-Revision: 7315
2007-05-23 19:48:34 +00:00
Felix Fietkau
84b235140c fix pcmcia/pccard build defaults
SVN-Revision: 7275
2007-05-19 16:16:48 +00:00
Mike Baker
854f0ad080 change handling of target/linux/generic-2.x/files to match other targets (#1648)
SVN-Revision: 7158
2007-05-10 08:35:48 +00:00
Felix Fietkau
30b08e0bb4 improve metadata scanning time
SVN-Revision: 7152
2007-05-10 00:23:48 +00:00
Felix Fietkau
56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
2007-05-09 22:47:01 +00:00
Felix Fietkau
341b6afd55 simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
SVN-Revision: 7096
2007-05-05 10:35:12 +00:00
Felix Fietkau
90acc0e779 fix make kernel_menuconfig (#1637)
SVN-Revision: 7094
2007-05-05 08:53:34 +00:00
Felix Fietkau
874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
2007-04-29 01:30:48 +00:00
Felix Fietkau
d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
2007-04-26 18:04:16 +00:00
Felix Fietkau
56220b258b fix kmod-* build error when wildcards are being used in $(FILES)
SVN-Revision: 7052
2007-04-26 08:06:52 +00:00
Felix Fietkau
74cd5bc109 add workaround for occasional kernel module build failures related to kernel config changes
SVN-Revision: 7050
2007-04-25 22:26:40 +00:00
Felix Fietkau
c7f299dfe5 add missing dependencies for autorebuild
SVN-Revision: 7022
2007-04-21 09:21:51 +00:00
Felix Fietkau
4c6c987f09 Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
SVN-Revision: 6998
2007-04-18 12:28:38 +00:00
Felix Fietkau
a3a9e039d8 ignore errors in the find command for dep checks
SVN-Revision: 6997
2007-04-18 10:12:50 +00:00
Felix Fietkau
29e42ab21d hide some junk in non-verbose mode
SVN-Revision: 6979
2007-04-16 23:51:22 +00:00
Felix Fietkau
bbe7bd4f29 remove reference to unused .kernel.mk
SVN-Revision: 6959
2007-04-15 21:39:30 +00:00
Felix Fietkau
449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
2007-04-15 18:28:24 +00:00
Florian Fainelli
cd65230eea Add raw and NOTRACK targets (#1583)
SVN-Revision: 6945
2007-04-13 11:28:45 +00:00
Felix Fietkau
3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
2007-04-12 19:18:38 +00:00
Mike Baker
8857381856 prereq check for find -exec +
SVN-Revision: 6940
2007-04-12 18:17:38 +00:00
Mike Baker
9b62c7eb9d minor tweaks to the verbose system
SVN-Revision: 6936
2007-04-11 22:59:42 +00:00
Felix Fietkau
b5a6f01ec0 fix dependencies for metadata scanning
SVN-Revision: 6910
2007-04-09 01:02:46 +00:00
Mike Baker
23efe5fc83 Tidy up Makefiles
SVN-Revision: 6857
2007-04-03 23:03:56 +00:00
Mike Baker
7bdbd73b2a bug #1547
SVN-Revision: 6851
2007-04-03 15:55:42 +00:00
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.
SVN-Revision: 6849
2007-04-03 11:56:08 +00:00
Florian Fainelli
6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
2007-04-02 16:09:15 +00:00
Florian Fainelli
7cb9801c8b Typo, nice
SVN-Revision: 6826
2007-04-02 11:42:31 +00:00
Florian Fainelli
1377dabf97 Add gawk as a preriquisite (needed for ramdisk images)
SVN-Revision: 6825
2007-04-02 11:42:00 +00:00
Felix Fietkau
c2b42e1afe add check for openwrt build system makefiles when scanning for metadata
SVN-Revision: 6793
2007-04-01 14:12:42 +00:00
Felix Fietkau
58de9a89ad call Build/Clean for clean: in package makefiles
SVN-Revision: 6773
2007-03-31 13:45:50 +00:00
Felix Fietkau
fcf0aa5ab7 make sure tmp/info gets created
SVN-Revision: 6749
2007-03-28 18:26:21 +00:00
Felix Fietkau
447b0f537a add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
SVN-Revision: 6747
2007-03-28 18:13:54 +00:00
Felix Fietkau
36b75197e3 detect changes in package/kernel/modules/*.mk when scanning the package metadata
SVN-Revision: 6746
2007-03-28 18:06:33 +00:00
Felix Fietkau
fe42382d1c split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
SVN-Revision: 6681
2007-03-24 21:12:26 +00:00
Felix Fietkau
ac75c5015f fix CONFIGURE_PATH and add MAKE_PATH
SVN-Revision: 6680
2007-03-24 21:05:56 +00:00
Felix Fietkau
036a419fe1 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
SVN-Revision: 6678
2007-03-24 20:54:33 +00:00
Felix Fietkau
35317253e6 trigger a kernel module rebuild when the kernel config changes
SVN-Revision: 6671
2007-03-24 17:05:26 +00:00
Felix Fietkau
ea952312ae move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
SVN-Revision: 6664
2007-03-24 13:42:54 +00:00
Felix Fietkau
000393712e make busybox autorebuild on relevant config changes
SVN-Revision: 6651
2007-03-23 19:13:08 +00:00
Felix Fietkau
b04ef81416 some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
SVN-Revision: 6648
2007-03-23 14:48:47 +00:00
Felix Fietkau
04ae63915e fix a small bug in the unpack code
SVN-Revision: 6587
2007-03-16 21:32:59 +00:00
Felix Fietkau
12051a5761 remove some debug code that slipped into the commit
SVN-Revision: 6583
2007-03-16 20:32:32 +00:00
Felix Fietkau
24faf55360 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
SVN-Revision: 6582
2007-03-16 20:21:39 +00:00
Felix Fietkau
198a3ae713 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
SVN-Revision: 6581
2007-03-16 20:20:19 +00:00
Felix Fietkau
1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
2007-03-16 19:18:55 +00:00
Felix Fietkau
b14f137a2e revert part of [6573] to keep the speedup of metadata scanning
SVN-Revision: 6574
2007-03-16 12:22:11 +00:00
Mike Baker
8dc90ccc11 formatting and trivial cleanup
SVN-Revision: 6573
2007-03-16 06:12:53 +00:00
Felix Fietkau
2c62bddcfe 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.
SVN-Revision: 6572
2007-03-16 03:02:31 +00:00
Felix Fietkau
7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
2007-03-15 23:57:18 +00:00
Felix Fietkau
08c5cb8c23 fix metadata scan for profile split
SVN-Revision: 6515
2007-03-04 21:07:29 +00:00
Felix Fietkau
a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau
bc60eb3610 add a crlf workaround similar to the one from freewrt
SVN-Revision: 6507
2007-03-04 16:27:11 +00:00
Felix Fietkau
066a009c34 final fix for the profile selection
SVN-Revision: 6474
2007-03-02 23:36:59 +00:00
Felix Fietkau
8069e38587 set the PROFILE variable in target.mk appropriately
SVN-Revision: 6470
2007-03-02 23:13:52 +00:00
Felix Fietkau
b09fbccb24 revert bogus target.mk change from [6465]
SVN-Revision: 6469
2007-03-02 23:04:19 +00:00
Felix Fietkau
fa859ea32a fix an error in the kernel image related commit
SVN-Revision: 6467
2007-03-02 21:07:53 +00:00
Tim Yardley
484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau
91e5dba2c7 kernel build cleanup
SVN-Revision: 6464
2007-03-02 17:24:20 +00:00
Felix Fietkau
f86431a751 add EXTRA_CFLAGS variable support
SVN-Revision: 6459
2007-03-02 16:14:05 +00:00
Felix Fietkau
68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
Felix Fietkau
15a9b61bbd fix kexec-tools build
SVN-Revision: 6428
2007-02-28 13:28:18 +00:00
Florian Fainelli
780712e30e Add ipt_CLASSIFY target for 2.4 kernels (#1338)
SVN-Revision: 6424
2007-02-28 12:04:58 +00:00
Felix Fietkau
423e90915d Massive speedup in the package/target scanning step - per package metadata files are now cached. - timestamp.pl calls have been replaced with make file dependencies - an extra stamp file ensures that directory listing changes force a rebuild
SVN-Revision: 6404
2007-02-27 21:14:00 +00:00
Felix Fietkau
ecf6837f87 add x86_64 sitefile
SVN-Revision: 6382
2007-02-26 01:02:57 +00:00
Felix Fietkau
27fd6cee56 remove old variables
SVN-Revision: 6379
2007-02-26 00:20:39 +00:00
Felix Fietkau
5e50dd560a move CXXFLAGS to MAKE_VARS
SVN-Revision: 6378
2007-02-26 00:13:41 +00:00
Felix Fietkau
350b686ffd add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
SVN-Revision: 6377
2007-02-26 00:10:52 +00:00
Felix Fietkau
6d6b1ac683 rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
SVN-Revision: 6376
2007-02-25 23:55:53 +00:00
Felix Fietkau
d9639dd98c 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
SVN-Revision: 6370
2007-02-25 23:10:32 +00:00
Felix Fietkau
9b46161c67 fix for including host.mk multiple times
SVN-Revision: 6369
2007-02-25 21:17:57 +00:00
Felix Fietkau
5723a1798c fix stampfiles for host-builds
SVN-Revision: 6367
2007-02-25 21:01:21 +00:00
Felix Fietkau
b04f09245d add auto-rebuild for host builds (tested with tools/ and toolchain/)
SVN-Revision: 6361
2007-02-25 18:28:25 +00:00
Felix Fietkau
d398dc0309 always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
SVN-Revision: 6350
2007-02-23 14:52:50 +00:00
Felix Fietkau
129d173a2a fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
SVN-Revision: 6346
2007-02-23 03:45:46 +00:00
Tim Yardley
fdea0fabd2 make maxinodes configureable for ext2
SVN-Revision: 6345
2007-02-22 22:35:08 +00:00
Felix Fietkau
1a6e4acabc fix a small bug in the order of the profile metadata dump
SVN-Revision: 6340
2007-02-22 03:54:52 +00:00
Felix Fietkau
db45ee6bd6 last commit was missing a change...
SVN-Revision: 6339
2007-02-22 03:47:00 +00:00
Felix Fietkau
e78fb96964 Reorganize kernel configs - target/linux/*/config is now a directory. ./config/default will replace the old config and config-diff (format is like config-diff, the full kernel config is no longer kept in the build system) This commit removes all the kernel config stuff, the next one will add the replacement - there's no way to do this atomically with svn.
SVN-Revision: 6337
2007-02-22 03:44:15 +00:00
Felix Fietkau
509bb267a3 make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
2007-02-16 17:28:22 +00:00
Felix Fietkau
8afbc2d617 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
SVN-Revision: 6310
2007-02-16 16:59:44 +00:00
Felix Fietkau
064e496875 when building a package, make sure that older versions get removed
SVN-Revision: 6303
2007-02-16 01:00:01 +00:00
Felix Fietkau
04da86494a fix multiport netfilter module installation (patch from #1280)
SVN-Revision: 6295
2007-02-13 03:08:48 +00:00
Felix Fietkau
6a50014b62 Minor kernel build changes: Change '[ -d ... ] && cmd' to 'if [ -d ... ]; then cmd; fi' to avoid make errors if the condition is false If $(PLATFORM_DIR)/files exists, copy it into the kernel tree on prepare.
SVN-Revision: 6263
2007-02-04 19:36:11 +00:00
Nicolas Thill
1f8d439809 disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
SVN-Revision: 6244
2007-02-01 22:32:03 +00:00
Mike Baker
dc4f082aea print package name when prereq fails
SVN-Revision: 6236
2007-01-31 20:17:28 +00:00
Mike Baker
9fffc68101 fix colors when compiling with some newer versions of bash
SVN-Revision: 6231
2007-01-30 18:30:20 +00:00
Florian Fainelli
acf6ec373e Add chaostable from #1187, also enable netfilter modules for ixp4xx.
SVN-Revision: 6182
2007-01-22 23:55:22 +00:00
Nicolas Thill
3de63356ba cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
SVN-Revision: 6180
2007-01-22 17:33:10 +00:00
Felix Fietkau
e8caa3c42b fix a typo in my netfilter commit - worked for iptables, didn't work for the kernel modules
SVN-Revision: 6176
2007-01-22 11:22:02 +00:00
Felix Fietkau
5d323a623e add missing config checks for the netfilter connmark target (fixes #1186)
SVN-Revision: 6172
2007-01-22 01:23:44 +00:00
Felix Fietkau
3133fefe06 pass the CFLAGS through the environment on compile and fix a few packages
SVN-Revision: 6154
2007-01-21 02:14:50 +00:00
Felix Fietkau
69d76bb482 make spca5xx depend on video device support in the kernel
SVN-Revision: 6153
2007-01-21 02:02:01 +00:00
Felix Fietkau
d8cc1426e4 allow newlines in prereq error messages
SVN-Revision: 6147
2007-01-20 18:45:06 +00:00
Felix Fietkau
2fb06d46d9 Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
2007-01-20 12:35:00 +00:00
Felix Fietkau
84a0696c1e add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
SVN-Revision: 6137
2007-01-20 02:30:36 +00:00
Felix Fietkau
6de2b723f7 clean up package rebuild messages
SVN-Revision: 6134
2007-01-20 01:35:13 +00:00
Tim Yardley
4c1346198c bring in 2.6.19.2 fixes, primarily for the fixed sata support. see http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.2 for full details of the changes
SVN-Revision: 6128
2007-01-18 18:58:24 +00:00
Felix Fietkau
28f97f9fc3 include section name in the package metadata
SVN-Revision: 6094
2007-01-14 12:21:39 +00:00
Felix Fietkau
56cb557d10 add maintainer to package metadata
SVN-Revision: 6089
2007-01-13 14:09:48 +00:00
Felix Fietkau
06e88a80c7 merge the scripts dealing with package/target metadata to remove some redundant code
SVN-Revision: 6088
2007-01-13 14:05:14 +00:00
Felix Fietkau
0e3a29c270 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.
SVN-Revision: 6084
2007-01-12 11:09:05 +00:00
Felix Fietkau
5605b82835 fix unpacking of .zip files
SVN-Revision: 6083
2007-01-11 19:07:12 +00:00
Felix Fietkau
7a6a646497 Add initial version of the new Image Builder It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
SVN-Revision: 6071
2007-01-10 21:52:28 +00:00
Imre Kaloz
3f881e9573 upgrade to Linux 2.4.34
SVN-Revision: 6000
2007-01-05 20:09:34 +00:00
Nicolas Thill
ab2bdf2505 only squash owners, not permissions, when generating ext2 images
SVN-Revision: 5934
2006-12-30 14:44:27 +00:00
Felix Fietkau
35bccdd4ba store the default kernel version for our ports in a single place (target makefiles can still override it if necessary)
SVN-Revision: 5899
2006-12-25 09:12:57 +00:00
Florian Fainelli
94164d679b Also build bzImage for rdc boards
SVN-Revision: 5895
2006-12-23 14:27:06 +00:00
Felix Fietkau
4a17097247 replace another instance of a relative path to generic-2.* with an absolute one (for symlinked target directories)
SVN-Revision: 5885
2006-12-20 22:23:51 +00:00
Felix Fietkau
dc6794b88c some platform support path name cleanup
SVN-Revision: 5846
2006-12-18 18:30:29 +00:00
Felix Fietkau
2f50e4ee3f add a missing dependency - prevented clean rebuild after kernel upgrades
SVN-Revision: 5845
2006-12-18 18:28:38 +00:00
Nicolas Thill
a98e2a0f27 prevent pkg-config from looking for .pc files on the host system
SVN-Revision: 5820
2006-12-17 14:56:27 +00:00
Rod Whitby
0a4bfe22bb A little endian arm site defaults, in case anyone wants it. ixp4xx kernel and rootfs at least builds with it, but is untested.
SVN-Revision: 5815
2006-12-17 12:40:45 +00:00
Felix Fietkau
77e01959f4 fix path to generic init file when using a symlinked target support directory
SVN-Revision: 5805
2006-12-16 01:32:12 +00:00
Felix Fietkau
bc4c9e6095 allow package directories to override the path to configure
SVN-Revision: 5722
2006-12-08 14:36:56 +00:00
Felix Fietkau
65ce91ec41 minor cleanup
SVN-Revision: 5718
2006-12-08 04:06:29 +00:00
Felix Fietkau
5af24a0373 build all packages in a package directory by default if DEVELOPER or SDK is set
SVN-Revision: 5684
2006-11-30 21:39:37 +00:00
Mike Baker
16edf83d62 trivial changes
SVN-Revision: 5668
2006-11-28 20:12:48 +00:00
Felix Fietkau
bf8dda030c more cleanup, build fix on freebsd
SVN-Revision: 5666
2006-11-28 03:56:45 +00:00
Felix Fietkau
461375c939 another bsd bugfix
SVN-Revision: 5657
2006-11-27 05:23:22 +00:00