Commit Graph

69 Commits (02357c0886cb644763cf2b039878c218bf1aae82)

Author SHA1 Message Date
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
Felix Fietkau 24cf53528f add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau 8812ae37cb add support for parallel build of packages (tested with -j8)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 20:58:13 +00:00
Felix Fietkau 272d1962e4 strip kernel modules automatically as well
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 20:06:46 +00:00
Felix Fietkau 62ee8601cf fix toolchain build, remove some old gcc junk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 16:53:36 +00:00
Mike Baker f49412d37f move FORCE to toplevel rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-14 10:25:38 +00:00
Mike Baker 8b7d9fc053 partial cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-11 00:18:12 +00:00
Felix Fietkau b1324fcdd3 remove old trace/verbose junk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-10 20:32:22 +00:00
Felix Fietkau 1c127a80d1 fix menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-21 10:06:31 +00:00
Mike Baker 86172ff83f fix more BR2 crap
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-21 09:56:20 +00:00
Felix Fietkau 290190f5a6 add proper package dependency handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-20 03:45:03 +00:00
Mike Baker e0af0a4eb8 change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-01 23:53:19 +00:00