diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2015-07-29 15:25:54 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-07-31 15:32:44 +1000 |
commit | fbcf2fad50710e8ad53250fa1e3578b7e0b4c14b (patch) | |
tree | 39d4d7b34d292b280eb1743d3c3eebe9da8e7a19 /external | |
parent | 3591fd399c7d76b54ac25075b7617fe9b7de3507 (diff) | |
download | skiboot-fbcf2fad50710e8ad53250fa1e3578b7e0b4c14b.zip skiboot-fbcf2fad50710e8ad53250fa1e3578b7e0b4c14b.tar.gz skiboot-fbcf2fad50710e8ad53250fa1e3578b7e0b4c14b.tar.bz2 |
external/opal-prd: Use opal-prd as version prefix
Cc: Jeremy Kerr <jeremy.kerr@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/opal-prd/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/external/opal-prd/Makefile b/external/opal-prd/Makefile index fa5872a..db38d71 100644 --- a/external/opal-prd/Makefile +++ b/external/opal-prd/Makefile @@ -25,7 +25,7 @@ all: opal-prd LINKS = ccan -SKIBOOT_VERSION ?= $(shell ../../make_version.sh skiboot) +OPAL_PRD_VERSION ?= $(shell ../../make_version.sh opal-prd) ifdef KERNEL_DIR LINKS += asm/opal-prd.h @@ -54,15 +54,15 @@ opal-prd: $(OBJS) $(Q_LINK)$(LINK.o) -o $@ $^ version.c: ../../make_version.sh .version - @(if [ "a$(SKIBOOT_VERSION)" = "a" ]; then \ - echo "#error You need to set SKIBOOT_VERSION environment variable" > $@ ;\ + @(if [ "a$(OPAL_PRD_VERSION)" = "a" ]; then \ + echo "#error You need to set OPAL_PRD_VERSION environment variable" > $@ ;\ else \ - echo "const char version[] = \"$(SKIBOOT_VERSION)\";" ;\ + echo "const char version[] = \"$(OPAL_PRD_VERSION)\";" ;\ fi) > $@ .PHONY: VERSION-always .version: VERSION-always - @echo $(SKIBOOT_VERSION) > $@.tmp + @echo $(OPAL_PRD_VERSION) > $@.tmp @cmp -s $@ $@.tmp || cp $@.tmp $@ @rm -f $@.tmp |