Commit Graph

97 Commits

Author SHA1 Message Date
Felix Fietkau
eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
2009-01-13 03:21:25 +00:00
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)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Felix Fietkau
cb73e4ad91 fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
SVN-Revision: 12896
2008-10-08 12:07:14 +00:00
Lars-Peter Clausen
3601e8b9bb oops, previous commit was broken. remove wrong line break.
SVN-Revision: 12570
2008-09-11 16:17:28 +00:00
Lars-Peter Clausen
013d074603 Add InstallDev/(Pre|Post) hooks.
SVN-Revision: 12569
2008-09-11 16:13:14 +00:00
Felix Fietkau
3b937f85e8 add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
2008-09-03 13:19:50 +00:00
Felix Fietkau
5719247ae3 add an extra build step Build/Install which allows you to run a make install target after the post-compile hooks have run - will be necessary for some libtool dependent stuff
SVN-Revision: 12452
2008-09-01 11:03:58 +00:00
Felix Fietkau
291e775fcd allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
SVN-Revision: 12034
2008-07-31 02:43:33 +00:00
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
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
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
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Felix Fietkau
f75b9f6815 fix packages that use -f on other build system makefiles
SVN-Revision: 10088
2008-01-03 02:12:46 +00:00
Andy Boyett
6343c3be59 expunge find GNUism
SVN-Revision: 9955
2007-12-27 11:31:27 +00:00
Felix Fietkau
5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
2007-12-27 02:11:07 +00:00
Felix Fietkau
28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
2007-12-27 02:10:54 +00:00
Felix Fietkau
3de5e1d29a clean up after staging packages
SVN-Revision: 9909
2007-12-25 02:19:48 +00:00
Felix Fietkau
957103c337 add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
SVN-Revision: 9905
2007-12-25 01:39:15 +00:00
Felix Fietkau
3c228ee88f add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
SVN-Revision: 9853
2007-12-23 00:41:40 +00:00
John Crispin
a49f06f5e7 fixed copy paste error
SVN-Revision: 9792
2007-12-17 22:24:40 +00:00
Felix Fietkau
407b75436d fix build issues that happen when the staging dir is cleared and the build directories stay
SVN-Revision: 9588
2007-11-20 22:43:38 +00:00
Felix Fietkau
87d0b29540 better scope handling for the configured stamp
SVN-Revision: 9566
2007-11-16 03:48:43 +00:00
Felix Fietkau
e66a211078 fix default downloads from svn
SVN-Revision: 9471
2007-10-31 22:37:56 +00:00
John Crispin
9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00
John Crispin
7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
2007-10-14 04:49:05 +00:00
John Crispin
5a4b6b5f4e changed pkg_install_files so one can specify the folder to install from
SVN-Revision: 9192
2007-10-08 19:49:11 +00:00
John Crispin
33ecac1f24 added a function, that packages can call to make installing files/folders much cleaner and easier
SVN-Revision: 9171
2007-10-07 01:55:03 +00:00
Felix Fietkau
e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
2007-09-29 04:29:11 +00:00
Felix Fietkau
97b6135462 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
SVN-Revision: 9060
2007-09-29 01:21:56 +00:00
Felix Fietkau
dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00
Felix Fietkau
969ac7459e add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
2007-09-28 01:45:11 +00:00
Felix Fietkau
800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +00:00
Felix Fietkau
e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
2007-09-20 16:17:50 +00:00
Nicolas Thill
9f6bd2c07b remove uneeded stuff after python changes in [8639]
SVN-Revision: 8640
2007-09-06 02:57:06 +00:00
Nicolas Thill
e5e03321f9 tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
SVN-Revision: 8590
2007-09-03 08:44:08 +00:00
Nicolas Thill
6a6fa5a4ab provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
2007-09-03 07:51:56 +00:00
Nicolas Thill
6a8ab4c0be fix .dep_files exclusion in rdep calls
SVN-Revision: 8567
2007-09-01 05:20:21 +00:00
Felix Fietkau
5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00
Florian Fainelli
39cbeec7b2 Add a PyMod template for python related modules
SVN-Revision: 8522
2007-08-28 12:41:39 +00:00
Nicolas Thill
4b23cac27b replace xargs commands with $(XARGS)
SVN-Revision: 8478
2007-08-24 12:10:14 +00:00
Nicolas Thill
b4318f53f9 rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
SVN-Revision: 8462
2007-08-22 16:15:00 +00:00
Florian Fainelli
c994e41757 Make the libtool fix more dynamic
SVN-Revision: 8461
2007-08-22 09:13:42 +00:00
Nicolas Thill
5440728b06 add 2 helper macros to deal with libtool madness
SVN-Revision: 8457
2007-08-21 20:51:46 +00:00
Nicolas Thill
ba05b57573 rename 'stampfiles' directory to 'stamp'
SVN-Revision: 8455
2007-08-21 18:07:55 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
2007-07-30 23:52:17 +00:00
Felix Fietkau
9bf7beae60 speed up the prepare step a bit
SVN-Revision: 8245
2007-07-30 21:47:26 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
a7b635f075 more cleanup
SVN-Revision: 8238
2007-07-30 18:39:20 +00:00
Felix Fietkau
ca0140018b only apply recursive deps if DUMP is unset
SVN-Revision: 7572
2007-06-11 17:19:43 +00:00
Felix Fietkau
cc690d782c Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').

SVN-Revision: 7471
2007-06-03 06:16:08 +00:00
Felix Fietkau
30b08e0bb4 improve metadata scanning time
SVN-Revision: 7152
2007-05-10 00:23:48 +00:00