Commit graph

7 commits

Author SHA1 Message Date
Fabrice Fontaine d8738d3b97 open-plc-utils: fix build with static musl
Pass TARGET_LDFLAGS to EXTRA_LDFLAGS to fix following issue:
/home/buildroot/autobuild/run/instance-3/output/build/host-gcc-final-7.3.0/build/arm-buildroot-linux-musleabihf/libgcc/../../../libgcc/config/arm/lib1funcs.S:1545: undefined reference to `raise'

Also pass TARGET_CFLAGS to EXTRA_CFLAGS and TARGET_CXXFLAGS to
EXTRA_CXXFLAGS and move all these variables to
OPEN_PLC_UTILS_MAKE_OPTS for readability

Fixes:
 - http://autobuild.buildroot.org/results/67bc5e7ac8ae1c49c035b022a394d2f746705cf2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-10-11 20:56:22 +02:00
Rahul Bedarkar 9f59b378a3 boot, package: use SPDX short identifier for BSD-3c
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-3c is BSD-3-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:26:57 +02:00
Bernd Kuhls fba5629686 package/open-plc-utils: add hash
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-06 21:46:02 +02:00
Bernd Kuhls 4dabee52da package/open-plc-utils: bump version
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-05 22:03:11 +02:00
Bernd Kuhls 247cc9ef70 package/open-plc-utils: bump version
Remove patch for scripts/Makefile because the file was removed upstream:
3682e7be80

Fixes musl build error:
http://autobuild.buildroot.net/results/582/5824f101d21698d562e9836c571ceab6fdfadc29//

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-31 21:08:44 +01:00
Thomas Petazzoni d4ae98d510 open-plc-utils: fix build on !uclibc toolchains
The open-plc-utils source code has a condition for uClibc toolchains
when calling vfprintf(). But the non-uClibc case simply doesn't
build. And the recommended solution at
https://github.com/qca/open-plc-utils/issues/36 is to pass
-D__UCLIBC__ unconditionally.

Fixes:

  http://autobuild.buildroot.org/results/4fd/4fdc56f5dec6c8773086a4661eff1e4ce6ef660e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-05 11:43:27 +02:00
Maxime Hadjinlian 1cd5f00a01 open-plc-utils: new package
[Thomas:
  - rename to open-plc-utils to match upstream name.
  - fix Config.in to use tabs instead of spaces
  - remove 'default n' line
  - add dependency on BR2_USE_MMU
  - bump to a more recent upstream commit
  - remove no longer needed openplc-0002-Remove-vfprintf-call.patch
  - rename patch to the proper naming convention
  - specify <pkg>_LICENSE_FILES
  - pass CROSS= instead of CC=
  - do not pass CC= at install time.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-04 16:39:51 +02:00