| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The normal Prepare step for a build is unpack, apply patches.
But for certain packages, patches contain whole files, which
would be nice to have separately and copied over as a last step
in the Prepare phase.
We need it for some other packages + patches, but I think
the 'hostapd' package can be used as a test for this.
As a quick note:
the reason the condition is being evaluated as
`[ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR)`
and not with
`[ -d ./src/ ] && $(CP) ./src/* $(HOST_BUILD_DIR)`
is that the latter would translate in a build failure if the `src`
folder is not present (the exit code would be 1).
The first one, succeeds for both cases (if `src` present or not).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Having a different PATH in Host/Install than in other steps like Host/Build
is confusing and easily leads to mistakes. Setting all of Host/Exports
makes host builds match target builds (Build/Install is part of
$(STAMP_BUILT), which has Build/Exports set).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
|
|
|
|
| |
It seems the intention was to add both $(STAGING_DIR_HOST)/... and
$(STAGING_DIR)/host/... instead of passing $(STAGING_DIR_HOST) twice. This
makes the definition match HOST_CPPFLAGS and HOST_LDFLAGS.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
|
|
|
|
|
|
| |
Using HOST_BUILD_PREFIX instead of STAGING_DIR_HOST will make the argument
work as expected from packages.
Nothing changes for tools, for which HOST_BUILD_PREFIX and STAGING_DIR_HOST
are equivalent.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
|
|
| |
makes it more consistent with package builds
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE
removes MAKEFLAGS to have better control of the build, and re-adds the
jobserver arguments with -j to the Make commandline where desired.
Make 4.2+ behave differently with these arguments passed on the commandline
than in MAKEFLAGS: -j will override the jobserver argument and the job
count will be unlimited.
Moving the flags to MAKEFLAGS will need many packages to be changed and
tested; therefore, we opt for a less invasive change for now and just
remove -j for Make 4.2+, as the jobserver argument alone is enough to
enable parallel builds for these Make versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
|
|
|
|
| |
to staging_dir/target-*/host
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48401
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47139
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45427
|
|
|
|
|
|
| |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44295
|
|
|
|
|
|
| |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44286
|
|
|
|
|
|
|
|
| |
install command before touching .installed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.
Mostly small pieces of code changes to get things right on the
specific platform.
Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.
Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
SVN-Revision: 35900
|
|
|
|
|
|
| |
opkg host binary after deleting the staging dir
SVN-Revision: 33776
|
|
|
|
|
|
| |
fixes parallel build on some systems
SVN-Revision: 33523
|
|
|
|
| |
SVN-Revision: 33509
|
|
|
|
|
|
| |
parallel, fixes rare spurious parallel build failures
SVN-Revision: 33445
|
|
|
|
| |
SVN-Revision: 33423
|
|
|
|
| |
SVN-Revision: 33351
|
|
|
|
| |
SVN-Revision: 33154
|
|
|
|
|
|
| |
"-static" on non-Darwin systems
SVN-Revision: 33138
|
|
|
|
| |
SVN-Revision: 32082
|
|
|
|
| |
SVN-Revision: 29754
|
|
|
|
| |
SVN-Revision: 25193
|
|
|
|
|
|
| |
for host build - move separator declaration to rules.mk
SVN-Revision: 24551
|
|
|
|
| |
SVN-Revision: 24103
|
|
|
|
|
|
| |
host staging dir is cleaned prior a test.
SVN-Revision: 23825
|
|
|
|
| |
SVN-Revision: 23482
|
|
|
|
|
|
| |
{PKG,HOST}_BUILD_PARALLEL:=0
SVN-Revision: 23480
|
|
|
|
| |
SVN-Revision: 22737
|
|
|
|
| |
SVN-Revision: 22698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to enable parallel build, change line 21 of
include/host-build.mk from:
override MAKEFLAGS=
to:
override MAKEFLAGS=$(MAKE_JOBS)
-Raphael
SVN-Revision: 19995
|
|
|
|
|
|
|
|
| |
Sometimes `make install` touches a file inside the build directory, so it is
betterr to create the build stamp after calling `make install` otherwise the
package is going to be rebuild even though nothing really changed.
SVN-Revision: 19021
|
|
|
|
| |
SVN-Revision: 18232
|
|
|
|
| |
SVN-Revision: 17716
|
|
|
|
| |
SVN-Revision: 15512
|
|
|
|
| |
SVN-Revision: 15453
|
|
|
|
|
|
| |
exports to templates, fix automake path for host builds
SVN-Revision: 15339
|
|
|
|
|
|
| |
host builds
SVN-Revision: 15299
|
|
|
|
| |
SVN-Revision: 15110
|
|
|
|
| |
SVN-Revision: 14997
|
|
|
|
| |
SVN-Revision: 14910
|
|
|
|
| |
SVN-Revision: 14906
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
the makefiles were included
SVN-Revision: 14853
|
|
|
|
| |
SVN-Revision: 14852
|
|
|
|
| |
SVN-Revision: 14724
|
|
|
|
| |
SVN-Revision: 14699
|
|
|
|
| |
SVN-Revision: 14621
|
|
|
|
| |
SVN-Revision: 14620
|