Commit Graph

657 Commits (41eef483769dd02e1f597f65eeebf7c089f2f0d2)

Author SHA1 Message Date
Felix Fietkau 8a6e77c006 fixes for refresh/update handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
Felix Fietkau 19e38ca2d4 move a stampfile to make it easier to override the patch template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
Felix Fietkau 6e3b88381a refactor quilt patching code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:28:03 +00:00
Felix Fietkau 3eda02f389 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 01:21:56 +00:00
Felix Fietkau ccff8348de proper series file support for regular packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:25:38 +00:00
Felix Fietkau c1e4663769 use $(TAR) instead of tar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:16:33 +00:00
Felix Fietkau 8d169cc962 Refactor downloading code into download.mk
Support multiple file downloads
Support svn downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Felix Fietkau bb6c4aade1 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:45:11 +00:00
Felix Fietkau 499485004b some minor fixes, cleanups, package build abstraction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:23:56 +00:00
Nicolas Thill 34e8faefa1 add ipv6 conntrack support (closes: #2192)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 17:22:17 +00:00
Felix Fietkau a2f0b50941 add initial version of a package feeds management script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 02:39:01 +00:00
Nicolas Thill effa8fa4fd 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 18:37:24 +00:00
Nicolas Thill 437eaca2fa add 'Provides:' line in ipkg control files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 10:05:00 +00:00
Felix Fietkau 8e682d617b fix spontaneous rebuilds caused by make package/<name>/update with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:17:50 +00:00
Nicolas Thill 1458e2b378 cosmetic cleanup before more deep changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 10:48:54 +00:00
Nicolas Thill 96e0e6c808 fix typo again (do i need some sleep?)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-17 01:51:57 +00:00
Nicolas Thill 0edda384bb oops, fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 22:41:24 +00:00
Nicolas Thill 1569372b6c remove (unused?) linux symlink in BUILD_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 16:28:50 +00:00
Nicolas Thill f8c8d4dc57 revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 16:10:37 +00:00
Nicolas Thill 1be5bf57b9 allow targets for override generic config (GENERIC_LINUX_CONFIG:=/dev/null) for testing purposes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 14:09:57 +00:00
Nicolas Thill 3194df157f quote LINUX_VERSION to avoid shell errors at DUMP time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 14:08:23 +00:00
Nicolas Thill 7437b1ce7d prevent include/netfilter.mk from being included multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-15 16:19:26 +00:00
Felix Fietkau 52da073acc properly clean up after kernel_{old,menu}config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 00:14:37 +00:00
Felix Fietkau 92babe74a0 fix custom series files in kernel patch directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 23:01:45 +00:00
Felix Fietkau f22594c434 fix kernel build with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 04:21:21 +00:00
Felix Fietkau 78de618cde fix kernel_menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 01:04:57 +00:00
Florian Fainelli 14a051f2ed Package the statistics module for netfilter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 18:32:06 +00:00
Felix Fietkau e5bcbd103b fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 23:33:01 +00:00
Felix Fietkau b1f60da081 add support for device type based package preselections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 21:30:25 +00:00
Felix Fietkau 6665a2c1dc adapt profiles for subtarget changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
Felix Fietkau 6bcd07afdd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau 92558d67a4 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
Nicolas Thill f37d4a2faf allow scan.mk to find python packages introduced in [8639]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 03:20:48 +00:00
Nicolas Thill e812d1ff92 remove uneeded stuff after python changes in [8639]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 02:57:06 +00:00
Nicolas Thill c5c20dc878 fix typo (thanks to jonasg[1] on irc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-05 08:59:44 +00:00
Nicolas Thill d6114c2600 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 09:06:03 +00:00
Nicolas Thill 2750423a70 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:58:14 +00:00
Nicolas Thill 05a46c716e tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:44:08 +00:00
Nicolas Thill bddd540035 provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 07:51:56 +00:00
Nicolas Thill cc9d43a53d move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 06:46:44 +00:00
Nicolas Thill 69ffd95c71 use a default VERSION field for kmod packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 16:39:27 +00:00
Nicolas Thill 3c9a3fd2cf fix .dep_files exclusion in rdep calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01 05:20:21 +00:00
Felix Fietkau 485f2e16f4 fix a dependency bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 22:43:25 +00:00
Felix Fietkau a96b79a6d4 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:12:39 +00:00
Felix Fietkau beaa7e3c37 allow the kernel to provide own series files for specific subdirs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:11:17 +00:00
Felix Fietkau a3d6680bc3 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-29 03:51:49 +00:00
Florian Fainelli fc677dd11c Add a PyMod template for python related modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-28 12:41:39 +00:00
Nicolas Thill 1e650af892 revert [8473] (see [8055])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-27 02:04:35 +00:00
Nicolas Thill 20ccf6f5a2 prevent ldconfig use in autoconf based packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 18:34:24 +00:00
Nicolas Thill 0c962366e6 add a '@KERNEL' download facility, tweak script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 18:21:24 +00:00
Nicolas Thill 1fb234e5c4 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
Nicolas Thill 9e4ac01593 move rule for $(STAGING_DIR)/etc/ipkg.conf out of BuildIPKG so that it's defined only once
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 12:42:48 +00:00
Nicolas Thill 6980fc88b7 move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 14:50:17 +00:00
Nicolas Thill 31779bc3ff add support for KernelPackage/*/description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 14:43:15 +00:00
Nicolas Thill 134d9f15d7 move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 11:55:01 +00:00
Nicolas Thill 78b14eaf94 fix netfilter quota module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:23:52 +00:00
Nicolas Thill 078205e702 replace xargs commands with $(XARGS)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:10:14 +00:00
Nicolas Thill 4a3e32d000 combine the 3 find in a single one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:05:30 +00:00
Florian Fainelli 2a94500e0c Fix the error on the quota extension (#2080)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:14:17 +00:00
Florian Fainelli fb1e874cc7 Add back physdev (#2216)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 15:21:22 +00:00
Nicolas Thill eb569b8098 rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-22 16:15:00 +00:00
Florian Fainelli e82e17badf Make the libtool fix more dynamic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-22 09:13:42 +00:00
Nicolas Thill 4b31b15dfa add 2 helper macros to deal with libtool madness
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 20:51:46 +00:00
Nicolas Thill 41da7aa7d9 rename 'stampfiles' directory to 'stamp'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:07:55 +00:00
Florian Fainelli de23935c70 Move to 2.6.22.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 10:06:01 +00:00
Felix Fietkau 3879c61bb6 revert [8415], seems to be causing problems for the kernel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-16 13:44:57 +00:00
Felix Fietkau 7feb8409ef always include kernel config for kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15 23:33:37 +00:00
Florian Fainelli 95b120dbaa Add a requireheader for squid, should fix it (#2205)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-12 11:53:23 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau c29e126571 fix image installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-03 01:21:41 +00:00
Felix Fietkau 78cbbeec55 fix kmod packages that don't use KCONFIG
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 23:49:31 +00:00
Felix Fietkau 2190e2e3a3 fix kmod packaging for packages where some KCONFIG symbols are set to y
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 13:38:03 +00:00
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
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