Commit Graph

407 Commits (a1a07442e6d3bd04e0bc4ecca2219fae3b3938fa)

Author SHA1 Message Date
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