Commit Graph

265 Commits (db1e5d9bde4cbe215a5582af1b28a366351fbc20)

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