aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorfeng-zhu <feng.zhu@intel.com>2019-11-25 14:57:48 +0800
committerJunfeng Wang <drenfong.wang@intel.com>2019-11-26 03:05:16 +0000
commit2be80bd56b4ba9e2c50ba8faa145214dda52c07b (patch)
treed1fe25ad90b90e8b340bcbbc8b5f05043a561118 /Makefile
parente02332347f873b6f2c52a88c5932eda6f536db78 (diff)
Fix the bug of udpi_plugin.so installed in wrong path.
Signed-off-by: feng-zhu <feng.zhu@intel.com>;Junfeng Wang <drenfong.wang@intel.com> Change-Id: I5c8c91ea85b6225841bea55649e902e3e65e34b4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index b15b845..942a7d9 100644
--- a/Makefile
+++ b/Makefile
@@ -75,14 +75,13 @@ build-package-hyperscan:
build-package:
ifeq ($(filter ubuntu debian,$(OS_ID)),$(OS_ID))
@mkdir -p $(BR)/build-package/; cd $(BR)/build-package/;\
- $(cmake) -DCMAKE_BUILD_TYPE=ReleaseĀ \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/;\
- make package -j$(nproc);
+ $(cmake) -DCMAKE_INSTALL_PREFIX=/usr $(WS_ROOT)/;
+ make package -j$(nproc);
else ifeq ($(OS_ID),centos)
@mkdir -p $(BR)/build-package/; cd $(BR)/build-package/;\
- $(cmake) -DCMAKE_BUILD_TYPE=Release -DCMKAE_INSTALL_LIBDIR=lib\
- -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/;\
- make package -j$(nproc);
+ $(cmake) -DCMAKE_BUILD_TYPE=Release -DCMKAE_INSTALL_LIBDIR=lib\
+ -DCMAKE_INSTALL_PREFIX=/usr $(WS_ROOT)/;
+ make package -j$(nproc);
endif
@# NEW INSTRUCTIONS TO BUILD-PACKAGE MUST BE DECLARED ON A NEW LINE WITH
@# '@' NOT WITH ';' ELSE BUILD-PACKAGE WILL NOT RETURN THE CORRECT