Commit Graph

485 Commits (0788207055aa633f3242be70429ecf3df7f6a2f8)

Author SHA1 Message Date
Felix Fietkau 949ca9cf6e 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
Felix Fietkau 2033a6135a fix a rebuild bug related to quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:52:17 +00:00
Felix Fietkau 0e7a726728 silence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:04:24 +00:00
Felix Fietkau ce02916d5f same for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:48:39 +00:00
Felix Fietkau 8ba1f30a17 speed up the prepare step a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:47:26 +00:00
Felix Fietkau 58896959fd ignore dependencies when using QUILT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:30:18 +00:00
Felix Fietkau 03ffe176e5 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Felix Fietkau afb0255875 more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:39:20 +00:00
Felix Fietkau fe5198f0ff remove CONFIG_JLEVEL. use make -j in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:24:47 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau 1f1b2ca360 fix compile errors with make 3.80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 15:00:27 +00:00
Felix Fietkau 32788c07ce fix verbose output with dash as /bin/sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 14:50:15 +00:00
Felix Fietkau bb3fe85135 add default command for dummy targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 14:36:21 +00:00
Felix Fietkau 1b88b67b09 build system fixes, more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:29:03 +00:00
Felix Fietkau 5a344daff1 more build system cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:00:43 +00:00
Felix Fietkau bb84df1c5e allow target specific builddir list override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 03:01:10 +00:00
Felix Fietkau c295c38efc add missing flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:54:50 +00:00
Felix Fietkau c33e0be683 don't force the install->compile, compile->prepare dependencies in subdir.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:53:54 +00:00
Felix Fietkau eed0892fb7 initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:44:55 +00:00
Felix Fietkau c861cd6195 ignore filenames that can cause problems for the recursive dependency handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 11:32:13 +00:00
Nicolas Thill e996d0881f remove the @ and change the comment from [8107] (closes: #2122)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 06:43:29 +00:00
Felix Fietkau f5b322e01e do dynamic kernel config changes for netfilter as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 03:23:46 +00:00
Felix Fietkau 41dc41e96e add better working-g++ check (patch from #2017)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:56:30 +00:00
Felix Fietkau 4205ec3e01 more dependency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:41:33 +00:00
Nicolas Thill f6aff55a07 fix jffs2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 18:29:59 +00:00
Felix Fietkau ab05894193 disable kmod packages where the KCONFIG options are =y
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 22:25:14 +00:00
Felix Fietkau ea1f954833 reorder, xt_CHAOS depends on xt_DELUDE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 20:54:54 +00:00
Felix Fietkau 85c3d5e4f1 really fix tgz images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 18:20:56 +00:00
Florian Fainelli 21259095f9 Fix the tgz image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 14:40:57 +00:00
Felix Fietkau 64e1715894 prevent the new config changes from interfering with kernel_menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 12:05:59 +00:00
Felix Fietkau cbd55fe6d7 dynamically enable/disable kernel config options for kmod packages based on build system config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
Felix Fietkau 2d1d4476c6 fail in .quilt_patched when there were patches that didn't apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 07:28:31 +00:00
Peter Denison 0cab184232 cope with QUILT=1 when there are no patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 20:05:08 +00:00
Florian Fainelli 891fd980a3 Add ipt_random module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 08:47:44 +00:00
Felix Fietkau 67b10c9ee3 better support for handling various jffs2 eraseblock sizes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 22:06:45 +00:00
Felix Fietkau a9bc57f16e add kernel_oldconfig target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 10:03:03 +00:00
Felix Fietkau ac6c9d2be4 detect whether the find command supports -L or -follow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 07:19:45 +00:00
Felix Fietkau d3daf2103e find: use -follow instead of -L, some systems don't support -L
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 06:35:00 +00:00
Felix Fietkau b70ced7eab kernel: fix dependencies for .config, use selections from oldconfig when running menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 05:28:13 +00:00
Felix Fietkau 4d93ce8008 follow symlinks in package scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 23:38:09 +00:00
Felix Fietkau 4463126a21 properly support dependencies on packages that just use Build/DefaultTargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 23:36:02 +00:00
Felix Fietkau ec15f6a3bd fixes for recursive package scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 23:16:47 +00:00
Felix Fietkau 90351f3587 rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 22:51:12 +00:00
Felix Fietkau 5675353c3a clean up some leftover junk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 08:33:20 +00:00
Felix Fietkau d6c65088f3 fix unwanted automatic package cleaning when using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 07:17:17 +00:00
Mike Baker 5e109d6e8c bump to 2.6.22.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 10:57:49 +00:00
Felix Fietkau a2af8a267e reorganize netfilter modules, get rid of the iptables-mod-extra dependency in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 06:47:33 +00:00
Felix Fietkau 8f1588603a 2.6.22 is released :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 02:23:00 +00:00
John Crispin c89087650d added i686 support and profile for t-vision s100
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 16:11:40 +00:00
Gabor Juhos 0c9a97fd97 reordered GENERIC_PATCH_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 11:44:50 +00:00
Felix Fietkau 35aad8dc94 merge the kernel config parts at dump time, so that overrides that disable certain features work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:49:25 +00:00
Felix Fietkau 24524856f9 fix kernel config feature autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:42:57 +00:00
Felix Fietkau 2c4c6a6002 fix the value of ac_cv_sizeof_off_t in the sitefiles (reported by crazy_imp)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 18:27:21 +00:00
Felix Fietkau b3ee15232a add portability fixes from #1720
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:21:58 +00:00
Felix Fietkau 10802e0b00 allow packages to override the patch directory using the PATCH_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:14:22 +00:00
Felix Fietkau cf9d5a490d fill in the kernel version info for every target, move the kernel tarball md5sums to a central place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 05:52:00 +00:00
Felix Fietkau 1b9defcfda add nat module fix from #1772
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 09:55:07 +00:00
Felix Fietkau 63e7959d68 fix the tar invocation in kernel build (#1935)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-21 15:50:01 +00:00
Felix Fietkau 7e119ed006 make sure quilt starts with the correct patch order in series
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-18 00:11:27 +00:00
Felix Fietkau f46b6a0195 prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
John Crispin 43262a3b35 autoconf preset for cris, so libpcap compiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 20:57:44 +00:00
Felix Fietkau 028d2bc906 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 13:14:24 +00:00
Imre Kaloz a7d9842972 upgrade to 2.6.21.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 10:27:28 +00:00
Felix Fietkau c98411223d only apply recursive deps if DUMP is unset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 17:19:43 +00:00
Felix Fietkau 904dd665cd upgrade to linux 2.6.21.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 13:38:48 +00:00
Felix Fietkau 7e1d618fd8 force build of packages when using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 19:01:55 +00:00
Imre Kaloz 15a51103e8 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Imre Kaloz d442289f60 use newer config.guess and config.sub for packages then the shipped ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:37:20 +00:00
Tim Yardley 804026d07a package ipset for use
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-07 15:30:59 +00:00
Imre Kaloz 12d1bd76b0 add support for jffs2 filesystems with 256k blocksize, fix taishan support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-05 20:55:21 +00:00
Felix Fietkau 80d2beea9d 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:14:08 +00:00
Felix Fietkau e9531fed6e more fixes for the patching stuff (was testing it on the wrong target)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:52:54 +00:00
Felix Fietkau ae51b57add revert bogus change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:43:52 +00:00
Felix Fietkau 09bf6dec79 fix quilt related unpack/patch error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:39:34 +00:00
Florian Fainelli 7ea90b0aef quilt is now a preriquisite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 16:48:28 +00:00
Felix Fietkau 773d1fc4f6 implement quilt handling for the kernel tree ... and there was much rejoicing!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:28:05 +00:00
Felix Fietkau 84c301cf9a enable quilt for host builds and add some additional checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 07:33:00 +00:00
Felix Fietkau 2ded298669 Improve quilt patch handling: All quilt managed patches are checked before the package compile is attempted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:54:46 +00:00
Felix Fietkau 414e3ef71a 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').


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:16:08 +00:00
Florian Fainelli 2053d4546c Add iprange (#1799)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 22:57:33 +00:00
Felix Fietkau 8edf586158 fix typo introduced in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 11:06:19 +00:00
Mike Baker d7778e7141 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 10:20:48 +00:00
Felix Fietkau 9b4207cfae fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 09:57:47 +00:00
Felix Fietkau 78ea4eb896 netfilter dscp target/match is now in xtables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 14:54:28 +00:00
Florian Fainelli 0514876233 Call the Initramfs template if existing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 10:29:50 +00:00
Felix Fietkau 6c8caf71ea fix up tcpmss for the new kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-26 18:18:37 +00:00
Felix Fietkau 4826a4becb fix target rescan (version kernel changes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-23 21:11:48 +00:00
Imre Kaloz b19f76df97 break trunk temporary - upgrade to 2.6.21.1 and iptables 1.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-23 19:48:34 +00:00
Felix Fietkau ae8db89239 fix pcmcia/pccard build defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-19 16:16:48 +00:00
Mike Baker 2103ad58c0 change handling of target/linux/generic-2.x/files to match other targets (#1648)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 08:35:48 +00:00
Felix Fietkau 96f8ab2796 improve metadata scanning time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 00:23:48 +00:00
Felix Fietkau a8f4a1bdbb fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 22:47:01 +00:00
Felix Fietkau 6232c138af simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 10:35:12 +00:00
Felix Fietkau 5a5f01fcac fix make kernel_menuconfig (#1637)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 08:53:34 +00:00
Felix Fietkau f460eb1cdb fixes for a few build errors on osx without fink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00
Felix Fietkau 2dcaf582db Small bugfix for dependency handling - mostly for base-files and symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
Felix Fietkau 0eac429129 fix kmod-* build error when wildcards are being used in $(FILES)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 08:06:52 +00:00
Felix Fietkau c9977dec29 add workaround for occasional kernel module build failures related to kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-25 22:26:40 +00:00
Felix Fietkau 1a16baeccd add missing dependencies for autorebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 09:21:51 +00:00
Felix Fietkau c6eb15e481 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
Felix Fietkau b97528d98e ignore errors in the find command for dep checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 10:12:50 +00:00
Felix Fietkau 7c1d6bdc6a hide some junk in non-verbose mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:51:22 +00:00
Felix Fietkau 20453a1fde remove reference to unused .kernel.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 21:39:30 +00:00
Felix Fietkau 18ff6224cb clean up dependency handling for autorebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 18:28:24 +00:00
Florian Fainelli 20b3fd837d Add raw and NOTRACK targets (#1583)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-13 11:28:45 +00:00
Felix Fietkau 1cabba028e revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 19:18:38 +00:00
Mike Baker 9767c1a7e0 prereq check for find -exec +
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 18:17:38 +00:00
Mike Baker 2f6de831ee minor tweaks to the verbose system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 22:59:42 +00:00
Felix Fietkau 2163478ac8 fix dependencies for metadata scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-09 01:02:46 +00:00
Mike Baker 0f8b8ec000 Tidy up Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 23:03:56 +00:00
Mike Baker 2ff4981c43 bug #1547
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 15:55:42 +00:00
Mike Baker d5d59e30ea Using find's -exec to remove directories causes 'not found' errors when find tries to search the removed directory. Hopefully fixed now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 11:56:08 +00:00
Florian Fainelli 7a5a2cec7a Use find -exec instead of xargs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:09:15 +00:00
Florian Fainelli cbb4b95786 Typo, nice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 11:42:31 +00:00
Florian Fainelli d7b1b0655d Add gawk as a preriquisite (needed for ramdisk images)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 11:42:00 +00:00
Felix Fietkau 25ecbc2368 add check for openwrt build system makefiles when scanning for metadata
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 14:12:42 +00:00
Felix Fietkau 263e3011e9 call Build/Clean for clean: in package makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 13:45:50 +00:00
Felix Fietkau e2c67bf4b7 make sure tmp/info gets created
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 18:26:21 +00:00
Felix Fietkau 8c1649f53c add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 18:13:54 +00:00
Felix Fietkau f0a180486c detect changes in package/kernel/modules/*.mk when scanning the package metadata
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 18:06:33 +00:00
Felix Fietkau 95f410c30b split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:12:26 +00:00
Felix Fietkau 4b058739e5 fix CONFIGURE_PATH and add MAKE_PATH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:05:56 +00:00
Felix Fietkau 2661709d13 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 20:54:33 +00:00
Felix Fietkau f169bffb5f trigger a kernel module rebuild when the kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 17:05:26 +00:00
Felix Fietkau ca098282b6 move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:54 +00:00
Felix Fietkau 9da149dc05 make busybox autorebuild on relevant config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 19:13:08 +00:00
Felix Fietkau 1b3722a5f8 some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 14:48:47 +00:00
Felix Fietkau b59b373233 fix a small bug in the unpack code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 21:32:59 +00:00
Felix Fietkau e13eab6e3b remove some debug code that slipped into the commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:32:32 +00:00
Felix Fietkau 713863458d add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
Felix Fietkau 4cb7672e61 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:20:19 +00:00
Felix Fietkau c70cfb3d1a add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
Felix Fietkau 199cce687a revert part of [6573] to keep the speedup of metadata scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 12:22:11 +00:00
Mike Baker 953cfec788 formatting and trivial cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 06:12:53 +00:00
Felix Fietkau 97276e7bf0 Add an 'Image Configuration' menu to menuconfig
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
Felix Fietkau 0241b19768 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-15 23:57:18 +00:00
Felix Fietkau 0be7d2a8e7 fix metadata scan for profile split
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 21:07:29 +00:00
Felix Fietkau ae39d6a370 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Felix Fietkau a976a6d4b4 add a crlf workaround similar to the one from freewrt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 16:27:11 +00:00
Felix Fietkau ad43641baf final fix for the profile selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:36:59 +00:00
Felix Fietkau e8503a6ff0 set the PROFILE variable in target.mk appropriately
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:13:52 +00:00
Felix Fietkau 65355dcead revert bogus target.mk change from [6465]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:04:19 +00:00
Felix Fietkau 6206e86514 fix an error in the kernel image related commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 21:07:53 +00:00
Tim Yardley 3249931be4 commit profile support for base-files... patches still need to be done
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 18:17:40 +00:00
Felix Fietkau d60f254616 kernel build cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:24:20 +00:00
Felix Fietkau 64756bc4a3 add EXTRA_CFLAGS variable support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 16:14:05 +00:00
Felix Fietkau 18de319d9d make squashfs overlay support more generic and integrate it for x86-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
Felix Fietkau 96c42dce80 fix kexec-tools build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 13:28:18 +00:00
Florian Fainelli 1442bbc0d8 Add ipt_CLASSIFY target for 2.4 kernels (#1338)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 12:04:58 +00:00
Felix Fietkau 331a2ee15c 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 21:14:00 +00:00