summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs
Commit message (Collapse)AuthorAgeFilesLines
* libhugetlbfs: avoid using keyword restrict as var nameKai Kang2015-08-312-0/+35
| | | | | | | | | | | | | | When compile with gcc 5.x, libhugetlbfs fails with: | hugeutils.c: In function '__lh_hugetlbfs_setup_env': | hugeutils.c:304:40: error: expected identifier or '(' before restrict' | char *p, *tok, *exe, buf[MAX_EXE+1], restrict[MAX_EXE]; | ^ Rename variable to avoid using keyword restrict as variable name to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: avoid search host library path for cross compilationKai Kang2015-08-312-0/+41
| | | | | | | | | | | There was a patch fixing the same issue: libhugetlbfs-avoid-search-host-library-path-for-cros.patch but missed the elf_i386.xB*, this patch fixes for it. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: Uprev to v2.19 from v2.18Jianchuan Wang2015-08-186-197/+2
| | | | | | | The 5 patches which are deleted have been in the v2.19 Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: project moved to githubJosep Puigdemont2015-06-081-1/+3
| | | | | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "libhugetlbfs: Add i586 to list of compatible host architectures"Martin Jansa2015-05-171-1/+1
| | | | | | | | | | It's still failing in world builds even when "libhugetlbfs: x86 - don't link against host libs" is applied as well. It was reported month ago: https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg41565.html This reverts commit 3cc7f186be46a0de049d1fab70ddb84111be6e29.
* libhugetlbfs: Add i586 to list of compatible host architecturesgary.robertson@linaro.org2015-04-131-1/+1
| | | | | | | | COMPATIBLE_HOST included support for x86_64 but not for 32-bit x86 architectures - added i586 arch name to cover qemux86, etc. Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: Fix page size & text offset for arm archesGary S. Robertson2014-12-103-33/+58
| | | | | | | | | | | Fixed computation of page size and text segment offset for various arm architectures - including both LE and BE variants of armv7 as well as aarch64 Upstream Status: Accepted at libhugetlbfs project Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: Make cross-devel recognize all ix86 archesGary S. Robertson2014-12-102-0/+33
| | | | | | | | | | | In a non-native cross-development scenario, the Makefile only recognized i386 or x86_64 PC architectures. Extended this to also recognize i486, i586, and i686 Upstream Status: Accepted but not yet applied by libhugetlbfs project Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: add bash and perl to RDEPENDSChong.Lu@windriver.com2014-10-301-1/+2
| | | | | | | | | | | | This solves the following warning: libhugetlbfs-2.18: libhugetlbfs-tests requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] libhugetlbfs-2.18: libhugetlbfs requires /bin/bash, /usr/bin/perl, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: Extend arm32 support to include BE variantsGary S. Robertson2014-08-153-30/+39
| | | | | | | | | | | | | | | | | | | Upstream Status: Submitted This patch applies the same technique used by Koen Kool in the following patch which was accepted by the libhugetlbfs project: [0a4f6] Add aarch64_be_support 2014-03-31 10:52:37 It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms. This patch replaces and renders obsolete the following patch: arm32-support.patch by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not build obj32 for all 64b platformsTing Liu2014-07-301-2/+1
| | | | | | | | | | | | | | | qemux86_64 has the same issue with powerpc64, set BUILDTYPE=NATIVEONLY as default Fix the below build issue for 64bit platforms: | fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not build obj32 for powerpc64Ting Liu2014-07-221-0/+1
| | | | | | | | | | | | | | If obj32 needed, user can build lib32-libhugetlbfs. Fix the below build issue for 64bit powerpc boards: | fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64Ting Liu2014-07-221-1/+4
| | | | | | | | | | In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of `uname -a`). Update the recipe to avoid build issue for now. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: fix packagingKoen Kooi2014-07-221-1/+5
| | | | | | | | | Libhugetlbs doesn't generate proper .so.X libs, only two .so files. Package those in ${PN} and silence the resulting QA warning. This fixes: ERROR: QA Issue: libhugetlbfs-tests rdepends on libhugetlbfs-dev Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: fix versioningKoen Kooi2014-07-221-0/+3
| | | | | | | PE bump is needed because "git+stuff"" > "2.18" Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: arm 32bit supportChunrong Guo2014-07-222-1/+31
| | | | | Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: update srcrev to 2.18 releaseFathi Boudra2014-05-048-228/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update recipe: - update SRCREV to latest release, 2.18 - switch back to master branch - increase verbosity (pass V=1 to EXTRA_OEMAKE) to make debugging easier * Drop patches: - fix-lib64-can-not-be-shiped-in-64bit-target.patch replaced by LIBARGS definition. the build system allows to override libdir using LIB32 and LIB64 variables - 0001-install-perl-lib-to-directory-perl-instead-of-perl5.patch replaced by a one-liner to fixup perl module directory hardcoded to perl5 * Refresh skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch - only disable the error to skip the check * Add patches: - 0001-aarch64-fix-cross-compilation.patch - submitted upstream allow to override CC and use it for aarch64 case like the other arch - 0001-aarch64-fix-page-size-not-properly-computed.patch - submitted upstream fix typo on MB variable (MB -> $MB) and add the missing linker variants (aarch64elfb, aarch64linux, aarch64linuxb) - 0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch submitted upstream. replace lib/lib64 hardcoded values by LIBDIR32 and LIBDIR64 variables * Remove patches that aren't applied in the recipe (they're all merged upstream and available in 2.18 release): - libhugetlbfs/files/aarch64-support.patch - aarch64-unit-test-fixes.patch - add-PROT-NONE-to-the-mprotest-test.patch Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: ensure package strip logic stays the same after oe-core ↵Koen Kooi2014-02-011-0/+1
| | | | | | | | | package.bbclass changes See http://patches.openembedded.org/patch/65311/ Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetbfs: add branch parameter and uprev to 6824d18Ting Liu2014-01-222-6/+4
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: kill /opt usageKoen Kooi2013-10-211-3/+3
| | | | | | | /opt should never be used for packages built by OE, so install the tests in a more standard location. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: install perl lib to directory perl instead of perl5Chunrong Guo2013-10-152-2/+41
| | | | | | | | | | | | | | | *libhugetlbfs depends on perl, and perl installs a directory 'perl' and make a symlink 'perl5' to it. So just install perl libs in libhugetlbfs to directory 'perl' instead of 'perl5'. This can avoid the following error: | CalledProcessError: Command 'tar -cf - -C .../perl/5.14.3-r1/sysroot-destdir | -ps . | tar -xf - -C .../tmp/sysroots/t4240qds' | returned non-zero exit status 2 with output | tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists | tar: Exiting with failure status due to previous errors Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: not use hard coded path in run_tests.pyChunrong Guo2013-10-152-0/+44
| | | | | | | | *Hard coded path makes the script impossible to run out of source tree. *After 'make install', we can use hugeadm utility under DESTDIR. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: install static 4G-edge testcasesChunrong Guo2013-10-152-10/+7
| | | | | | | *TESTS_64 is empty, install will fail due to missing file operand. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libhugetlbfs: add recipeChunrong Guo2013-10-058-0/+481
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>