Commit Graph

206 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Felix Fietkau 7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
15 years ago
Felix Fietkau ddcfaeb1e5 move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
SVN-Revision: 14905
15 years ago
Felix Fietkau e4a5d86b54 fix the target-local CONFIG_SITE export. apparently make can't do more than one of them in a single line
SVN-Revision: 14863
15 years ago
Felix Fietkau 76683dc7b2 move the CONFIG_SITE export to target-local exports
SVN-Revision: 14851
15 years ago
Felix Fietkau b6f0cb5366 prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
SVN-Revision: 14800
15 years ago
Felix Fietkau fb4a318970 fix the host vs native stampfile dependencies to improve quilt support
SVN-Revision: 14629
15 years ago
Felix Fietkau aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates
SVN-Revision: 14621
15 years ago
Felix Fietkau 6ccc1c8e3c fix typo
SVN-Revision: 14609
15 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
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)
SVN-Revision: 13931
16 years ago
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
16 years ago
Lars-Peter Clausen 3601e8b9bb oops, previous commit was broken. remove wrong line break.
SVN-Revision: 12570
16 years ago
Lars-Peter Clausen 013d074603 Add InstallDev/(Pre|Post) hooks.
SVN-Revision: 12569
16 years ago
Felix Fietkau 3b937f85e8 add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
16 years ago
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
16 years ago
Felix Fietkau 291e775fcd allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
SVN-Revision: 12034
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
SVN-Revision: 11414
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
SVN-Revision: 10458
16 years ago
Felix Fietkau f75b9f6815 fix packages that use -f on other build system makefiles
SVN-Revision: 10088
17 years ago
Andy Boyett 6343c3be59 expunge find GNUism
SVN-Revision: 9955
17 years ago
Felix Fietkau 5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
17 years ago
Felix Fietkau 28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
17 years ago
Felix Fietkau 3de5e1d29a clean up after staging packages
SVN-Revision: 9909
17 years ago
Felix Fietkau 957103c337 add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
SVN-Revision: 9905
17 years ago
Felix Fietkau 3c228ee88f add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
SVN-Revision: 9853
17 years ago
John Crispin a49f06f5e7 fixed copy paste error
SVN-Revision: 9792
17 years ago
Felix Fietkau 407b75436d fix build issues that happen when the staging dir is cleared and the build directories stay
SVN-Revision: 9588
17 years ago
Felix Fietkau 87d0b29540 better scope handling for the configured stamp
SVN-Revision: 9566
17 years ago
Felix Fietkau e66a211078 fix default downloads from svn
SVN-Revision: 9471
17 years ago
John Crispin 9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
17 years ago
John Crispin 7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
17 years ago
John Crispin 5a4b6b5f4e changed pkg_install_files so one can specify the folder to install from
SVN-Revision: 9192
17 years ago
John Crispin 33ecac1f24 added a function, that packages can call to make installing files/folders much cleaner and easier
SVN-Revision: 9171
17 years ago
Felix Fietkau e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
17 years ago
Felix Fietkau 97b6135462 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
SVN-Revision: 9060
17 years ago
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
17 years ago
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
17 years ago
Felix Fietkau 800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
17 years ago
Felix Fietkau e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
17 years ago
Nicolas Thill 9f6bd2c07b remove uneeded stuff after python changes in [8639]
SVN-Revision: 8640
17 years ago
Nicolas Thill e5e03321f9 tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
SVN-Revision: 8590
17 years ago
Nicolas Thill 6a6fa5a4ab provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
17 years ago
Nicolas Thill 6a8ab4c0be fix .dep_files exclusion in rdep calls
SVN-Revision: 8567
17 years ago
Felix Fietkau 5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
17 years ago
Florian Fainelli 39cbeec7b2 Add a PyMod template for python related modules
SVN-Revision: 8522
17 years ago
Nicolas Thill 4b23cac27b replace xargs commands with $(XARGS)
SVN-Revision: 8478
17 years ago
Nicolas Thill b4318f53f9 rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
SVN-Revision: 8462
17 years ago
Florian Fainelli c994e41757 Make the libtool fix more dynamic
SVN-Revision: 8461
17 years ago
Nicolas Thill 5440728b06 add 2 helper macros to deal with libtool madness
SVN-Revision: 8457
17 years ago
Nicolas Thill ba05b57573 rename 'stampfiles' directory to 'stamp'
SVN-Revision: 8455
17 years ago
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
17 years ago
Felix Fietkau 23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
17 years ago
Felix Fietkau 9bf7beae60 speed up the prepare step a bit
SVN-Revision: 8245
17 years ago
Felix Fietkau d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
17 years ago
Felix Fietkau a7b635f075 more cleanup
SVN-Revision: 8238
17 years ago
Felix Fietkau ca0140018b only apply recursive deps if DUMP is unset
SVN-Revision: 7572
17 years ago
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
17 years ago
Felix Fietkau 30b08e0bb4 improve metadata scanning time
SVN-Revision: 7152
17 years ago
Felix Fietkau 56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
17 years ago
Felix Fietkau d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
17 years ago
Felix Fietkau c7f299dfe5 add missing dependencies for autorebuild
SVN-Revision: 7022
17 years ago
Felix Fietkau 29e42ab21d hide some junk in non-verbose mode
SVN-Revision: 6979
17 years ago
Felix Fietkau 449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
17 years ago
Felix Fietkau 58de9a89ad call Build/Clean for clean: in package makefiles
SVN-Revision: 6773
17 years ago
Felix Fietkau 000393712e make busybox autorebuild on relevant config changes
SVN-Revision: 6651
17 years ago
Felix Fietkau 1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
17 years ago
Mike Baker 8dc90ccc11 formatting and trivial cleanup
SVN-Revision: 6573
17 years ago
Felix Fietkau 7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
17 years ago
Felix Fietkau f86431a751 add EXTRA_CFLAGS variable support
SVN-Revision: 6459
17 years ago
Felix Fietkau 15a9b61bbd fix kexec-tools build
SVN-Revision: 6428
17 years ago
Felix Fietkau 27fd6cee56 remove old variables
SVN-Revision: 6379
17 years ago
Felix Fietkau 5e50dd560a move CXXFLAGS to MAKE_VARS
SVN-Revision: 6378
17 years ago
Felix Fietkau 350b686ffd add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
SVN-Revision: 6377
17 years ago
Felix Fietkau 6d6b1ac683 rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
SVN-Revision: 6376
17 years ago
Felix Fietkau d9639dd98c move configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to make it possible to modify the configure command line without overriding the default template
SVN-Revision: 6370
17 years ago
Felix Fietkau 064e496875 when building a package, make sure that older versions get removed
SVN-Revision: 6303
17 years ago
Nicolas Thill 1f8d439809 disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
SVN-Revision: 6244
18 years ago
Nicolas Thill 3de63356ba cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
SVN-Revision: 6180
18 years ago
Felix Fietkau 3133fefe06 pass the CFLAGS through the environment on compile and fix a few packages
SVN-Revision: 6154
18 years ago
Felix Fietkau 6de2b723f7 clean up package rebuild messages
SVN-Revision: 6134
18 years ago
Felix Fietkau 28f97f9fc3 include section name in the package metadata
SVN-Revision: 6094
18 years ago
Felix Fietkau 56cb557d10 add maintainer to package metadata
SVN-Revision: 6089
18 years ago
Felix Fietkau 0e3a29c270 Fix the annoying base-files autorebuild bug. When checking file mtimes in directories, timestamp.pl was following symlinks. This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
SVN-Revision: 6084
18 years ago
Nicolas Thill a98e2a0f27 prevent pkg-config from looking for .pc files on the host system
SVN-Revision: 5820
18 years ago
Felix Fietkau bc4c9e6095 allow package directories to override the path to configure
SVN-Revision: 5722
18 years ago
Felix Fietkau 5af24a0373 build all packages in a package directory by default if DEVELOPER or SDK is set
SVN-Revision: 5684
18 years ago
Felix Fietkau a1ac6d1d9f fix collecting package metadata on freebsd
SVN-Revision: 5655
18 years ago
Felix Fietkau 1c9fe80ed4 fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
18 years ago
Felix Fietkau cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
18 years ago
Nicolas Thill a8b4fcb839 revert autotools files touching: it has side effects (closes: #918)
SVN-Revision: 5448
18 years ago
Florian Fainelli 7af8ef7b0e Move out autotools touching stuff to a macro
SVN-Revision: 5390
18 years ago
Florian Fainelli 320d383f12 Ok, third round, the right one, touch the file anyway, does not break other packages
SVN-Revision: 5387
18 years ago
Florian Fainelli 37237a0544 Update makefiles to use the autotools stuff put in the template, remove bogus stamp-h.in touching
SVN-Revision: 5386
18 years ago
Florian Fainelli 895ac7a421 Some more stuff
SVN-Revision: 5385
18 years ago
Florian Fainelli e0c9b03440 Move out some generic code to prevent autotools from re-creating files
SVN-Revision: 5384
18 years ago
Nicolas Thill ed081b6cd3 strip third arg (dir name) to Build/Configure/Default macro
SVN-Revision: 5261
18 years ago
Felix Fietkau 01c896d67c enable download target only if PKG_SOURCE_URL is set
SVN-Revision: 5237
18 years ago
Felix Fietkau f9e805e6a3 add sitefiles similar to the ones from openembedded
SVN-Revision: 5232
18 years ago
Felix Fietkau 47c25a1e96 fix unnecessary kernel package recompile
SVN-Revision: 5227
18 years ago
Felix Fietkau 06df13ccc0 change rm to rm -f to avoid bogus make messages
SVN-Revision: 5215
18 years ago
Felix Fietkau 38fef4b4a8 add PROVIDES option, currently only used for menuconfig
SVN-Revision: 5194
18 years ago
Felix Fietkau 6779edb40e check for empty patch directories
SVN-Revision: 5086
18 years ago
Felix Fietkau 794114c706 fix mistakes in unpack change
SVN-Revision: 5077
18 years ago
Felix Fietkau 0d9ddef0e8 move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
SVN-Revision: 5070
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago