forked from ariadne/libucontext
build: use head -n1 when reading VERSION
parent
9983d136af
commit
3064ad6dbc
2
Makefile
2
Makefile
|
@ -31,7 +31,7 @@ endif
|
||||||
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
||||||
LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
|
LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
|
||||||
|
|
||||||
LIBUCONTEXT_VERSION := $(shell head VERSION)
|
LIBUCONTEXT_VERSION := $(shell head -n 1 VERSION)
|
||||||
LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o}
|
LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o}
|
||||||
LIBUCONTEXT_SOVERSION = 0
|
LIBUCONTEXT_SOVERSION = 0
|
||||||
LIBUCONTEXT_NAME = libucontext.so
|
LIBUCONTEXT_NAME = libucontext.so
|
||||||
|
|
Loading…
Reference in New Issue