Make the makefile compatible with Busybox
Busybox follows stricter POSIX standards, and doesn't support the --mode and --directory arguments, but rather uses the shorthand variants -m and -d
This commit is contained in:
4
Makefile
4
Makefile
@@ -34,8 +34,8 @@ DESTDIR ?= /tmp/test-mce-dev
|
|||||||
PCDIR := /usr/lib/pkgconfig
|
PCDIR := /usr/lib/pkgconfig
|
||||||
INCLUDEDIR := /usr/include/mce
|
INCLUDEDIR := /usr/include/mce
|
||||||
|
|
||||||
INSTALL_DIR := install --mode=755 --directory
|
INSTALL_DIR := install -m 755 -d
|
||||||
INSTALL_DATA := install --mode=644
|
INSTALL_DATA := install -m 644
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user