6b7719f964
Fixes http://autobuild.buildroot.net/results/4b5/4b56b89dd0ccd3b7e4017782e8d48b9c71207ff7/ Pass the libraries to be linked in LDLIBS instead of LDFLAGS so the end up after the object files on the linker command line. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
886 B
Makefile
34 lines
886 B
Makefile
################################################################################
|
|
#
|
|
# dvb-apps
|
|
#
|
|
################################################################################
|
|
|
|
DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35
|
|
DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
|
|
DVB_APPS_SITE_METHOD = hg
|
|
DVB_APPS_LICENSE = GPLv2 GPLv2+ LGPLv2.1+
|
|
DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
|
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
|
DVB_APPS_DEPENDENCIES = libiconv
|
|
DVB_APPS_LDLIBS += -liconv
|
|
endif
|
|
|
|
DVB_APPS_INSTALL_STAGING = YES
|
|
|
|
define DVB_APPS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
|
|
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) V=1
|
|
endef
|
|
|
|
define DVB_APPS_INSTALL_STAGING_CMDS
|
|
$(MAKE) -C $(@D) V=1 DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define DVB_APPS_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) V=1 DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|