300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
603 B
Makefile
19 lines
603 B
Makefile
#############################################################
|
|
#
|
|
# MatchBox Common
|
|
#
|
|
#############################################################
|
|
|
|
MATCHBOX_COMMON_VERSION = 0.9.1
|
|
MATCHBOX_COMMON_SOURCE = matchbox-common-$(MATCHBOX_COMMON_VERSION).tar.bz2
|
|
MATCHBOX_COMMON_SITE = http://matchbox-project.org/sources/matchbox-common/$(MATCHBOX_COMMON_VERSION)
|
|
MATCHBOX_COMMON_DEPENDENCIES = matchbox-lib
|
|
|
|
ifeq ($(strip $(BR2_PACKAGE_MATCHBOX_COMMON_PDA)),y)
|
|
MATCHBOX_COMMON_CONF_OPT += --enable-pda-folders
|
|
endif
|
|
|
|
#############################################################
|
|
|
|
$(eval $(call AUTOTARGETS))
|