1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 20:33:08 +02:00
Commit Graph

175 Commits

Author SHA1 Message Date
nbd
12c49b6a6a 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
nbd
32a98d23ea 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
nbd
389529fe35 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
8119784b65 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
nbd
2e8859ece5 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
hcg
2f8d658a22 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
nbd
7a1a2ed509 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
nbd
83790f74ad 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
mbm
ccaa720fcf 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
mbm
947ca6f4e8 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
hcg
6d08e7e4fe 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
nbd
d415d5f3e6 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
nbd
267cc36546 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
nbd
d286ea505d 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
nbd
5b651a6721 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
nbd
bbe1e39616 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
rwhitby
cde9f30b2a 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
2751644833 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
nbd
6c93a964d2 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
nbd
35edb7e5ee 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
nbd
00ff299f67 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
nbd
e158d8b6a7 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
nbd
e5105e61c1 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
nbd
571d37fe94 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
nbd
d4c503111c 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
nbd
711eed53f9 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
nbd
3dcf8b9e33 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
nbd
27c68c3f75 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
nbd
34dbf787c3 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
nbd
b8885f1f93 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
nbd
16e76af3ef 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
nbd
652d907345 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
nbd
44af1866aa 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
nbd
f4e092f9df 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
mbm
20f30a6346 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
nico
a1b10a9379 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
mbm
ef998d64e3 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
mbm
5d099491cf 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
mbm
4c102c1828 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
mbm
0301816e6a 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
nbd
c133c86f41 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
mbm
02cdebbb91 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
mbm
242527ccb9 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
mbm
ad209c7066 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
mbm
eef631d02f 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
nbd
0b0afa4d81 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
nbd
a74795a105 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
nbd
f2a0915886 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
nbd
00a355fbf7 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
mbm
859af2ce0d 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
mbm
64c71ec5d9 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
nbd
dd2b3f1c12 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
nbd
0214b712b6 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
mbm
c9a87c3c4d 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
nbd
ae5ab94ef5 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
mbm
82daa5e9c0 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
mbm
07730c370d Bypass hardcoded ipkg root paths; fixes obscure build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-20 00:32:13 +00:00
nbd
a345da1bda set V=5 as default and fix toolchain verbosity setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-13 01:04:50 +00:00
nbd
41e51f29b4 some more small fixes for the V= stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 15:15:57 +00:00
nbd
0781686bc6 make log output a bit nicer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 15:10:20 +00:00
nbd
4213687753 add some more verbosity stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 01:40:50 +00:00
nbd
d0f611787c large build system cleanup. added some stuff to control the verbosity level, but not complete, yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 00:06:20 +00:00
nbd
dda8643c1f set default shell to bash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-19 13:32:59 +00:00
nbd
102ad2157b move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-24 19:58:14 +00:00
nbd
76ed58d705 move package/linux into target/linux, use wbx' new kernel code. support building images with more than one kernel, split kernel module parts off of packages that use their own kernel modules (fuse, shfs, openswan). some cleanup in the image building process in target/. image builder is disabled for now, needs some fixing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-28 09:17:29 +00:00
wbx
40d5788100 remove doubled line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-27 06:06:06 +00:00
nbd
02b2ed0c21 copy ipkg shell script to scripts/, change the reference in rules.mk and add the c version of ipkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-30 19:28:10 +00:00
nico
a723229747 Add rscript invocation variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-18 06:14:06 +00:00
kaloz
618de4a4f5 upgrade kernel, quagga and openvpn, add licensing info to diag module, fix up jffs2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-14 08:39:01 +00:00
nbd
0e7e3013a9 add some fixes for parallel build (does not work with -j4 yet, but it gets most packages compiled now)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-08 09:08:38 +00:00
nbd
6ea5ea7c86 remove lzma loader config option (make it default) and move it from package/ to target/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-02 19:06:50 +00:00
wbx
f0876cc261 fixup openntpd package. ntpd now starts as user ntp and
CONTROL/postinst can be executed on host and target system.
idea from nbd to use IPKG_ROOTDIR


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-23 20:19:42 +00:00
nico
a23ed95f5d Fix IPKG_TARGET_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-06 12:29:41 +00:00
nico
8592838f36 Change ipkg invocation and add -force-defaults option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-06 11:02:08 +00:00
mbm
f77b88d124 nbd's makefile/menuconfig rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-06 03:34:52 +00:00