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>
16 lines
492 B
Makefile
16 lines
492 B
Makefile
#############################################################
|
|
#
|
|
# mxml
|
|
#
|
|
#############################################################
|
|
MXML_VERSION = 2.6
|
|
MXML_SITE = http://ftp.easysw.com/pub/mxml/2.6
|
|
MXML_INSTALL_STAGING = YES
|
|
|
|
MXML_INSTALL_STAGING_OPT = DSTROOT=$(TARGET_DIR) install
|
|
MXML_INSTALL_TARGET_OPT = DSTROOT=$(TARGET_DIR) install
|
|
MXML_UNINSTALL_STAGING_OPT = DSTROOT=$(TARGET_DIR) uninstall
|
|
MXML_UNINSTALL_TARGET_OPT = DSTROOT=$(TARGET_DIR) uninstall
|
|
|
|
$(eval $(call AUTOTARGETS))
|