Commit Graph

80 Commits (3efc3e3b01b15be3a81f964cd2f723b1ca185072)

Author SHA1 Message Date
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 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 81555924a2 remove uneeded PATH setting in ipkg invocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 05:50:05 +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
Nicolas Thill 61f23426ec add back STAGING_DIR/usr/bin to TARGET_PATH until all library packages that install *-config scripts there are fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-19 06:41:38 +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 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 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
Florian Fainelli 9660a2cc4b Add optionnal support for a BUILD_DIR suffix (#2057)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 12:09:52 +00:00
Felix Fietkau 9cbf7f3fdf don't include .config if DUMP is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-26 20:24:55 +00:00
Hamish Guthrie d69aa84e30 Remove a debug statement from trx.c, add config changes for at91
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 17:39:38 +00:00
Felix Fietkau 9384678f16 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:35:46 +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
Mike Baker 6dc1bd2198 revert [6857] for rules.mk; make cannot parse dependancies properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 09:05:34 +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
Hamish Guthrie b921092d91 Added rule for objdump
Added support for AT91 SD-Card in primary bootloader (romboot)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-22 18:07:01 +00:00
Felix Fietkau cbb66de088 clean up stampfile mess for tools/ and toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:49:25 +00:00
Felix Fietkau a94d2be696 more fixes for rstrip.sh and kernel modules - fixes #1301
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-09 16:24:34 +00:00
Felix Fietkau 5454f020e0 fix overzealous kmod stripping - it killed kernel module parameters (#1301)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 00:56:36 +00:00
Felix Fietkau 928914fc72 another compile fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:18:53 +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
Rod Whitby cc13210fbd Added OBJCOPY variable for calling the cross-objcopy command (required for Apex booloader)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-01 00:03:09 +00:00
Florian Fainelli 4690fe5038 Add an install rule for configuration files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-31 15:54:59 +00:00
Felix Fietkau 07e2a05679 add staging_dir_*/usr/sbin to the TARGET_PATH (for grub)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-27 17:37:28 +00:00
Felix Fietkau 627966575e add INSTALL_BIN, INSTALL_DIR, INSTALL_DATA variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:05:54 +00:00
Felix Fietkau e97c3c74fb speed up the build system a little bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:49:35 +00:00
Felix Fietkau 19940017a3 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 23:11:02 +00:00
Felix Fietkau e43cd5ba64 use := for TAR_OPTIONS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 14:52:39 +00:00
Felix Fietkau 8d1376dd1e move '-' parameter to TAR_OPTIONS, so that packages can append commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 14:51:48 +00:00
Felix Fietkau c55de00492 more fixes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 23:04:46 +00:00
Felix Fietkau 88cfd8ba43 don't include host.mk from rules.mk - confuses package dump
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 21:22:35 +00:00
Felix Fietkau 8a1b6b3098 more portability fixes and a prereq check for gnu tar
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 21:06:45 +00:00
Felix Fietkau 90c6531c37 fix gcc compile
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 19:55:54 +00:00
Felix Fietkau 77acae652f add support for a common shell include file, which is evaluated for every make shell call, simplify variable passing to the shell with shvar and shexport templates, use Package/<pkgname>/config for adding config.in data
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 15:30:50 +00:00
Felix Fietkau 58e3b95a2c move certain host related variables to .host.mk generated by include/host-build.mk to speed up the build system
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 13:25:18 +00:00
Felix Fietkau f00668fe9f move ccache dir to staging_dir_arch (removing the staging dir will make the ccache ineffective anyway)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 18:17:53 +00:00
Felix Fietkau 3f01d0898e add portability fixes for toolchain/tools (full tools/toolchain build works on osx now)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 17:03:36 +00:00
Felix Fietkau a723361df9 move tools from toolchain/ to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 14:06:46 +00:00
Felix Fietkau 0199c0e95c fix GNU_HOST_NAME for non-linux machines
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 13:11:47 +00:00
Mike Baker 92167e1067 add secret option to use host's toolchain when native compiling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 19:25:26 +00:00
Nicolas Thill e0eceb4c86 fix uml-2.6 (closes: #678)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 11:16:46 +00:00
Mike Baker 2ffe012ebb set PATH in rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 11:59:52 +00:00
Mike Baker 834f917619 fix everything I broke with the previous patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 09:14:20 +00:00
Mike Baker 8ffc96f7ad and now, finally, enable ccache support
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 06:56:10 +00:00
Mike Baker cfa303fd2b minor makefile tweaks
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-02 12:07:14 +00:00
Felix Fietkau 0bb39567cd add a simple prerequisite check
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-19 13:25:09 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Mike Baker 57013b9f30 switch on new verbose system
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 21:47:24 +00:00
Mike Baker f50ad34d1b cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-22 22:33:56 +00:00
Mike Baker 842d9847a4 add STRIP to TARGET_CONFIGURE_OPTS (closes #606)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 20:09:34 +00:00