d6dde8fc0c
Commit 21d5d592a4
(package/fft_eval: new package) got last-minute
changes when comitted, changes which no longer made use of the
FFT_EVAL_TARGETS variable, but forgot to drop assignments to that
variable.
Drop them now.
Reported-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# fft-eval
|
|
#
|
|
################################################################################
|
|
|
|
FFT_EVAL_VERSION = 6a82b383ce79afc4c1ba26ffcf34b15d3e95894b
|
|
FFT_EVAL_SITE = $(call github,simonwunderlich,FFT_eval,$(FFT_EVAL_VERSION))
|
|
FFT_EVAL_LICENSE = CC0-1.0 (doc), GPL-2.0, OFL-1.1 (LiberationSans-Regular.ttf)
|
|
FFT_EVAL_LICENSE_FILES = \
|
|
LICENSES/CC0-1.0.txt \
|
|
LICENSES/GPL-2.0-only.txt \
|
|
LICENSES/OFL-1.1.txt
|
|
|
|
FFT_EVAL_CONV_OPTS = CONFIG_fft_eval_json=y
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_TTF),yy)
|
|
FFT_EVAL_CONV_OPTS += CONFIG_fft_eval_sdl=y
|
|
FFT_EVAL_DEPENDENCIES += sdl2 sdl2_ttf
|
|
else
|
|
FFT_EVAL_CONV_OPTS += CONFIG_fft_eval_sdl=n
|
|
endif
|
|
|
|
define FFT_EVAL_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
CROSS=$(STAGING_DIR)/usr/bin/ $(FFT_EVAL_CONV_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define FFT_EVAL_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
CROSS=$(STAGING_DIR)/usr/bin/ $(FFT_EVAL_CONV_OPTS) \
|
|
-C $(@D) DESTDIR=$(TARGET_DIR) BINDIR=/usr/bin install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|