Skip to content

Commit

Permalink
fixes for xmlada and gprbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
staffano committed Jan 10, 2019
1 parent 4924478 commit e5193b9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion conf/toolchains/native-mingw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ PREFERRED_PROVIDERS = " \
"
PREPATH = "${TOPDIR}/tmp/${BUILD}.${BUILD}.${HOST}/INSTALL/bin"

IMAGE_FEATURES = "virtual/final-gcc gdb-cross gdbserver-cross mingw-w64-tools"
IMAGE_FEATURES = "virtual/final-gcc gdb-cross gprbuild-cross gdbserver-cross mingw-w64-tools"
4 changes: 2 additions & 2 deletions recipes-devtools/mingw-w64/mingw-w64-common.inc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
LIC_FILES_CHKSUM="file://COPYING;md5=4fbd65380cdd255951079008b364516c"

PV = "1.0.0+git${SRCPV}"

SRCREV = "2d4e517ad0c7a9f0bd7001c42e6c131b977c15d9"
SRC_URI = " \
git://git.code.sf.net/p/mingw-w64/mingw-w64;protocol=https;rev=master \
git://git.code.sf.net/p/mingw-w64/mingw-w64;protocol=https \
"
S = "${WORKDIR}/git"

Expand Down
6 changes: 4 additions & 2 deletions recipes-gnat/gprbuild/gprbuild-cross_1.0.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ do_configure() {
do_compile() {
make -f ${S}/Makefile ${MAKE_JX} all
make -f ${S}/Makefile ${MAKE_JX} libgpr.build.static
# make -f ${S}/Makefile ${MAKE_JX} libgpr.build.shared
make -f ${S}/Makefile ${MAKE_JX} libgpr.build.shared
make -f ${S}/Makefile ${MAKE_JX} libgpr.build.static-pic
}

do_install() {
make -f ${S}/Makefile install
make -f ${S}/Makefile libgpr.install.static
# make -f ${S}/Makefile libgpr.install.shared
make -f ${S}/Makefile libgpr.install.shared
make -f ${S}/Makefile libgpr.install.static-pic
}
7 changes: 2 additions & 5 deletions recipes-gnat/xmlada/xmlada-cross_1.0.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ addtask preconfigure before do_configure
do_configure () {
${S}/configure \
--srcdir=${S} \
--target=${TARGET} \
--disable-shared
--target=${TARGET}
}

do_install () {
make all install IPREFIX=${INSTALL_DIR}
}
do_fetch() {
:
}

deltask do_patch

2 changes: 1 addition & 1 deletion scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def runBitbake(target, recipe):
stamp = makeStamp(target, recipe)
if hasStamp(stamp):
logging.info('{} already done. Skipping'.format(stamp))
print('{} already built. Skipping'.format(target))
print('{}:{} already built. Skipping'.format(target,recipe))
return

deps = getDependencies(target)
Expand Down

0 comments on commit e5193b9

Please sign in to comment.