Commit Graph

253 Commits (823ba94e3592e331e1986838f7cb6c1b51a3cb3d)

Author SHA1 Message Date
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
Felix Fietkau 1e61d2ea71 make spca5xx depend on video device support in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:02:01 +00:00
Felix Fietkau aac11b03c1 allow newlines in prereq error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 18:45:06 +00:00
Felix Fietkau 599cf4f524 Add WL-700gE support (based on work by jr)
Includes kernel/diag patch and a new target profile


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 12:35:00 +00:00
Felix Fietkau 2adf3524cf add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 02:30:36 +00:00