-
Notifications
You must be signed in to change notification settings - Fork 6
/
arpeggiator.mk
37 lines (27 loc) · 1.01 KB
/
arpeggiator.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
######################################
#
# arpeggiator
#
######################################
# where to find the source code - locally in this case
ARPEGGIATOR_SITE_METHOD = local
ARPEGGIATOR_SITE = $($(PKG)_PKGDIR)/
# even though this is a local build, we still need a version number
# bump this number if you need to force a rebuild
ARPEGGIATOR_VERSION = 1
# dependencies (list of other buildroot packages, separated by space)
ARPEGGIATOR_DEPENDENCIES =
# LV2 bundles that this package generates (space separated list)
ARPEGGIATOR_BUNDLES = arpeggiator.lv2
# call make with the current arguments and path. "$(@D)" is the build directory.
ARPEGGIATOR_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/source
# build command
define ARPEGGIATOR_BUILD_CMDS
$(ARPEGGIATOR_TARGET_MAKE)
endef
# install command
define ARPEGGIATOR_INSTALL_TARGET_CMDS
$(ARPEGGIATOR_TARGET_MAKE) install DESTDIR=$(TARGET_DIR)
endef
# import everything else from the buildroot generic package
$(eval $(generic-package))