Michael Neuling | 94f8ab1 | 2015-02-11 14:01:28 +1100 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # capp-ucode.mk |
| 4 | # |
| 5 | ################################################################################ |
Michael Neuling | 0c2efa8 | 2016-08-05 09:39:38 +1000 | [diff] [blame] | 6 | CAPP_UCODE_VERSION ?= 1bb7503078ed39b74a7b9c46925da75e547ceea6 |
Michael Neuling | 94f8ab1 | 2015-02-11 14:01:28 +1100 | [diff] [blame] | 7 | CAPP_UCODE_SITE ?= $(call github,open-power,capp-ucode,$(CAPP_UCODE_VERSION)) |
Alastair D'Silva | bfe098d | 2016-01-15 09:40:15 +1100 | [diff] [blame] | 8 | CAPP_UCODE_LICENSE = Apache-2.0 |
Stewart Smith | b16ba5b | 2017-01-10 12:55:55 +1100 | [diff] [blame] | 9 | CAPP_UCODE_LICENSE_FILES = NOTICES |
Michael Neuling | 94f8ab1 | 2015-02-11 14:01:28 +1100 | [diff] [blame] | 10 | |
| 11 | CAPP_UCODE_INSTALL_IMAGES = YES |
| 12 | |
| 13 | define CAPP_UCODE_BUILD_CMDS |
| 14 | cd $(@D) && ./build.sh |
| 15 | endef |
| 16 | |
| 17 | define CAPP_UCODE_INSTALL_IMAGES_CMDS |
| 18 | $(INSTALL) $(@D)/cappucode.bin $(BINARIES_DIR) |
| 19 | endef |
| 20 | |
| 21 | $(eval $(generic-package)) |