mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-13 03:58:55 -10:00
Upstream switched from C++ to C, so drop the C++ toolchain dependency and use the C compiler. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> [Julien: use 0.9.1 tag instead of commit id] Signed-off-by: Julien Olivain <ju.o@free.fr>
26 lines
654 B
Makefile
26 lines
654 B
Makefile
################################################################################
|
|
#
|
|
# sunwait
|
|
#
|
|
################################################################################
|
|
|
|
SUNWAIT_VERSION = 0.9.1
|
|
SUNWAIT_SITE = $(call github,risacher,sunwait,$(SUNWAIT_VERSION))
|
|
SUNWAIT_LICENSE = GPL-3.0
|
|
SUNWAIT_LICENSE_FILES = LICENSE
|
|
|
|
SUNWAIT_MAKE_OPTS = \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -c" \
|
|
LDFLAGS="$(TARGET_LDFLAGS) -lm"
|
|
|
|
define SUNWAIT_BUILD_CMDS
|
|
$(MAKE) $(SUNWAIT_MAKE_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define SUNWAIT_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/sunwait $(TARGET_DIR)/usr/bin/sunwait
|
|
endef
|
|
|
|
$(eval $(generic-package))
|