66 Commits (1be509269201bb4ed48f89a918a36594e0442df2)

Author SHA1 Message Date
Nicolas Thill 1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg 16 years ago
Lars-Peter Clausen 28abf79c44 Use multi libc naming scheme for PACKAGE_DIR 16 years ago
Felix Fietkau ab0c71fe99 Revert r14071 16 years ago
Felix Fietkau 55a7b0a6e1 add eabi suffix to the target name 16 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries 16 years ago
Nicolas Thill a3edea1b91 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) 16 years ago
Felix Fietkau 0434df7fee 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) 16 years ago
Felix Fietkau 87f9c56103 fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step 16 years ago
Lars-Peter Clausen b7b1b8dc73 Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some packages. 16 years ago
Felix Fietkau 373e5f5e8d add new option for enabling debugging symbols 16 years ago
Felix Fietkau 6acecfb3cd add -rpath-link to TARGET_LDFLAGS by default 16 years ago
Felix Fietkau eef95be7a2 add TARGET_CXX variable which points to the c++ cross compiler 16 years ago
Felix Fietkau a3a37d0bb1 rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882 16 years ago
Felix Fietkau 14ac8769b2 add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries 16 years ago
Felix Fietkau 214cac6482 add helper macro for stripping the last part of a version number 16 years ago
Florian Fainelli 958c4eac47 Native toolchain does not support -fhonour-copts, do not add it to the TARGET_CFLAGS 16 years ago
John Crispin c9d9f8045c adds missing patch for native toolchain 16 years ago
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine 16 years ago
Nicolas Thill 7a0b9f1d28 $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages subdirectories until we find something better 16 years ago
Felix Fietkau 82572cf767 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 17 years ago
Felix Fietkau 903af2c13e add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages process this correctly - fixes build errors with openldap/php5 17 years ago
Imre Kaloz 915e6b89b5 fixup softfloat handling 17 years ago
Felix Fietkau 28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files 17 years ago
Felix Fietkau abf6bfff51 remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH) 17 years ago
Felix Fietkau d48912ffe9 hopefully fix occasional uClibc/gcc build failures 17 years ago
Felix Fietkau 4235aee8c2 fix hostapd rebuild check, isolate the common src/ directory for hostapd variants as well to fix compile errors when both variants are selected (#2722) 17 years ago
Felix Fietkau a8c17898cc fix config change detect for hostapd 17 years ago
Felix Fietkau 6e03b9ce43 add config symbols for the kernel version 17 years ago
Felix Fietkau 42f055bfda fix empty download dir error 17 years ago
Florian Fainelli d22f50a252 Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter) 17 years ago
John Crispin 9f73ab51f3 refreshed madwifi patches 17 years ago
John Crispin 1a3c4d1090 add possibility to set default .config values 17 years ago
John Crispin cfd0fecd47 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly 17 years ago
Felix Fietkau 446881738f export STAGING_DIR 17 years ago
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads 17 years ago
Felix Fietkau a9d683ca91 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 17 years ago
Nicolas Thill 5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make 17 years ago
Nicolas Thill 3f80599cda move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk 17 years ago
Nicolas Thill 9400ad240f remove uneeded PATH setting in ipkg invocation 17 years ago
Felix Fietkau 5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time 17 years ago
Nicolas Thill de265bba1c add back STAGING_DIR/usr/bin to TARGET_PATH until all library packages that install *-config scripts there are fixed 17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html 17 years ago
Felix Fietkau 99368862e4 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 17 years ago
Felix Fietkau 9c88ba80b9 more build system cleanup 17 years ago
Florian Fainelli 38c3a1299e Add optionnal support for a BUILD_DIR suffix (#2057) 17 years ago
Felix Fietkau 4b0c035a93 don't include .config if DUMP is set 17 years ago
Hamish Guthrie e970f61273 Remove a debug statement from trx.c, add config changes for at91 17 years ago
Felix Fietkau 1099e2d679 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it... 17 years ago
Felix Fietkau 4c6c987f09 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 17 years ago
Mike Baker 9f142dcc0d revert [6857] for rules.mk; make cannot parse dependancies properly 17 years ago