Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
和sdk  libaio的生成路径保持一致
  • Loading branch information
Dw9 authored Aug 1, 2023
1 parent e785883 commit 5623ef4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ endif

ifdef PLATFORM
CROSS:=$(PLATFORM)-
else
else
OSID := $(shell awk -F'=' '/^ID=/ {print $$2}' /etc/os-release | tr -d '"')
OSVERSIONID := $(shell awk -F'=' '/^VERSION_ID=/ {print $$2"-"}' /etc/os-release | tr -d '"')
CROSS:=
PLATFORM:=linux$(ARCHBITS)
PLATFORM:=${OSID}$(OSVERSIONID)linux$(ARCHBITS)
endif

ifeq ($(RELEASE),1)
Expand Down

0 comments on commit 5623ef4

Please sign in to comment.