Commit Graph

457 Commits (cb6a1ed124e54ade22f1f55d4b734fd4e424e64b)

Author SHA1 Message Date
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
Felix Fietkau 353a98393a add x86_64 sitefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 01:02:57 +00:00
Felix Fietkau 73552f315e remove old variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:20:39 +00:00
Felix Fietkau 720a25b72e move CXXFLAGS to MAKE_VARS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:13:41 +00:00
Felix Fietkau 349177d981 add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:10:52 +00:00
Felix Fietkau 8c7f049311 rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:55:53 +00:00
Felix Fietkau 559d2c215f move configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to make it possible to modify the configure command line without overriding the default template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:10:32 +00:00
Felix Fietkau 6f2fe80b72 fix for including host.mk multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:17:57 +00:00
Felix Fietkau e21829f1ec fix stampfiles for host-builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 21:01:21 +00:00
Felix Fietkau 8a3423f044 add auto-rebuild for host builds (tested with tools/ and toolchain/)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 18:28:25 +00:00
Felix Fietkau f06ef1e706 always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-23 14:52:50 +00:00
Felix Fietkau 473fc68bd2 fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-23 03:45:46 +00:00
Tim Yardley fcbe667a81 make maxinodes configureable for ext2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 22:35:08 +00:00
Felix Fietkau c5367e59ac fix a small bug in the order of the profile metadata dump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:54:52 +00:00
Felix Fietkau 2c938fe5b9 last commit was missing a change...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:47:00 +00:00
Felix Fietkau 800a95817d 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:44:15 +00:00
Felix Fietkau be61365315 make kernel_menuconfig work without target toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 17:28:22 +00:00
Felix Fietkau b4f853be18 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 16:59:44 +00:00
Felix Fietkau 20400d4f3c when building a package, make sure that older versions get removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 01:00:01 +00:00
Felix Fietkau aaa47bfa05 fix multiport netfilter module installation (patch from #1280)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-13 03:08:48 +00:00
Felix Fietkau d02d6519c4 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-04 19:36:11 +00:00
Nicolas Thill f56894135c disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-01 22:32:03 +00:00
Mike Baker 33d19de9a4 print package name when prereq fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-31 20:17:28 +00:00
Mike Baker 44dcffafcc fix colors when compiling with some newer versions of bash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-30 18:30:20 +00:00
Florian Fainelli 06fe78f82d Add chaostable from #1187, also enable netfilter modules for ixp4xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 23:55:22 +00:00
Nicolas Thill f9ce8738dd cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
Felix Fietkau b1dfc3a3ef fix a typo in my netfilter commit - worked for iptables, didn't work for the kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 11:22:02 +00:00
Felix Fietkau 276ec5d114 add missing config checks for the netfilter connmark target (fixes #1186)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 01:23:44 +00:00
Felix Fietkau d6db09f812 pass the CFLAGS through the environment on compile and fix a few packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:14:50 +00:00