Commit Graph

234 Commits (53fa1a315f4bc86b4c86f4ae8174ea22bb57f8e9)

Author SHA1 Message Date
Felix Fietkau 6f11f2d44f add some extra stripping options for kernel modules to reduce size even more (thx, matteo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:26:12 +00:00
Nicolas Thill f9f42992ea [toolchain] add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 02:27:38 +00:00
Felix Fietkau d0ea07bdb9 move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent multiple configs with the same arch from deleting each others' packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:31:17 +00:00
Felix Fietkau 079bbf2ee7 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 21:58:35 +00:00
Felix Fietkau fb5e82d742 add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:00 +00:00
Florian Fainelli caa9ab1f49 [package] do not set anything in DISABLE_IPV6 when set, let the package pick up the defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 12:12:48 +00:00
Florian Fainelli e404fd711b [package] globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 21:45:51 +00:00
Nicolas Thill c5548f922e add a config option to select the binary stripping method to use (between none, strip & sstrip)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 02:34:58 +00:00
Lars-Peter Clausen df8edcfd8a Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 15:48:44 +00:00
Ralph Hempel 92dfe3875a added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 16:30:04 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau 019e6e2d31 move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Felix Fietkau 1eb7b2098d prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 01:15:59 +00:00
Felix Fietkau 937f1820f2 replace a few unnecessary $(shell) calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau 87fcd635fe speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Ralph Hempel d7399da7a7 second part of target rootfs relocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:44:19 +00:00
Nicolas Thill 16f701a0f9 remove LINUX_HEADERS_DIR, not used anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:37:58 +00:00
Nicolas Thill eb8dcd51d1 [cosmetic] indent soft-float options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:19:00 +00:00
Nicolas Thill 044375f28e move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:13:01 +00:00
Lars-Peter Clausen 5b0b3ea806 Use multi libc naming scheme for PACKAGE_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-24 15:46:57 +00:00
Felix Fietkau bea38261e3 Revert r14071
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 20:36:38 +00:00
Felix Fietkau 417d4099c3 add eabi suffix to the target name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:15:09 +00:00
Felix Fietkau e12489a3e2 add support for an optional staging directory for debug binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
Nicolas Thill 3b75e47f8f [massive] add support for alternative C libraries (currently only glibc/eglibc)
other (related) changes:
 - kernel headers are now installed using "make headers_install" on 2.6
 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
 - build directory names now contain gcc/libc name/version
 - default cpu for x86 is now i486 (required to build glibc/eglibc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Felix Fietkau 56046f5ae7 add the make variable LIBGCC_S, which points to the correct libgcc ldflag (avr32 only has a static library, most targets use the dynamic one)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 15:56:30 +00:00
Felix Fietkau 4c63b791b6 fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 17:41:02 +00:00
Lars-Peter Clausen ba4fb8c7ef Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some
packages.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 14:34:43 +00:00
Felix Fietkau 7adbdee637 add new option for enabling debugging symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 08:31:15 +00:00
Felix Fietkau fa32884c03 add -rpath-link to TARGET_LDFLAGS by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:18:52 +00:00
Felix Fietkau 8df932fe98 add TARGET_CXX variable which points to the c++ cross compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 18:35:03 +00:00
Felix Fietkau 627b34f1f2 rework parallel building to get rid of some warnings
and add back support for parallelizing the kernel build
fixes #3882


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:59:47 +00:00
Felix Fietkau df53503434 add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:20 +00:00
Felix Fietkau c1d54dc961 add helper macro for stripping the last part of a version number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 23:55:39 +00:00
Florian Fainelli 58ab325730 Native toolchain does not support -fhonour-copts, do not add it to the TARGET_CFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-19 16:29:01 +00:00
John Crispin 00ee3a96d1 adds missing patch for native toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 07:18:41 +00:00
Felix Fietkau f4e7bdac42 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
Nicolas Thill 4407857ade $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages subdirectories until we find something better
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15 02:17:38 +00:00
Felix Fietkau 03d5cedd44 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
Felix Fietkau 7dca742180 add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages process this correctly - fixes build errors with openldap/php5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-14 12:28:53 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
Felix Fietkau 927c84c100 add $(STAGING_DIR)/host, which contains target specific, but host executable files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:54 +00:00
Felix Fietkau f8d71bae51 remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:35 +00:00
Felix Fietkau aea721d6c8 hopefully fix occasional uClibc/gcc build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00
Felix Fietkau 28f65a9bcc fix hostapd rebuild check, isolate the common src/ directory for hostapd variants as well to fix compile errors when both variants are selected (#2722)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-17 14:14:16 +00:00
Felix Fietkau 225fca6d01 fix config change detect for hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:47:11 +00:00
Felix Fietkau 155a71a774 add config symbols for the kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 15:22:53 +00:00
Felix Fietkau e20c8ff208 fix empty download dir error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-29 22:05:23 +00:00
Florian Fainelli e37ba1b45a Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 20:03:14 +00:00
John Crispin 5e6504c49f refreshed madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:13:53 +00:00
John Crispin 9622d80344 add possibility to set default .config values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:15:37 +00:00
John Crispin 942c79cf15 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
Felix Fietkau 0b3ef78e45 export STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 19:13:07 +00:00
Felix Fietkau 8d169cc962 Refactor downloading code into download.mk
Support multiple file downloads
Support svn downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Felix Fietkau 6bcd07afdd major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
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
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
Mike Baker 164e488d3d 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
Felix Fietkau 1120cb8810 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
Felix Fietkau a4526f2c8a 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
Felix Fietkau 643ea4281e 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
Felix Fietkau 8a60ff2908 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
Felix Fietkau 6d59cdfc48 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
Felix Fietkau 355340966f 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
Felix Fietkau 8304dfdace 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
Felix Fietkau 1c4a2a55f7 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
Waldemar Brodkorb b66b8a9ac8 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
Felix Fietkau 772d07ee3b 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
Nicolas Thill c4b65c5f64 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
Imre Kaloz 290c837d4c 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
Felix Fietkau e295e9cf7c 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
Felix Fietkau dae7e90107 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
Waldemar Brodkorb 0e0a6891a7 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
Nicolas Thill 5cbb00fa95 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
Nicolas Thill 3d1af731a6 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
Mike Baker 3d904bb14a 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