mirror of
https://github.com/acpica/acpica/
synced 2024-12-25 20:06:53 +03:00
Update Linux makefiles.
Fix a few path problems with the new makefiles.
This commit is contained in:
parent
5815db2cec
commit
b87ffc0b38
@ -16,7 +16,7 @@ CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../inclu
|
||||
|
||||
|
||||
acpibin : $(patsubst %.c,%.o, $(SRCS))
|
||||
$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
$(CC) $(LDFLAGS) $(CFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
|
||||
CLEANFILES= $(PROG)
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
PROG = acpiexec
|
||||
|
||||
ACPICA_SRC = ../../../source
|
||||
ACPICA_SRC = ../..
|
||||
ACPICA_COMMON = $(ACPICA_SRC)/common
|
||||
ACPICA_CORE = $(ACPICA_SRC)/components
|
||||
ACPICA_CORE = $(ACPICA_SRC)
|
||||
ACPICA_TOOLS = $(ACPICA_SRC)/tools
|
||||
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
|
||||
|
||||
|
@ -8,7 +8,7 @@ CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../inclu
|
||||
|
||||
|
||||
aslmain : $(patsubst %.c,%.o, $(SRCS))
|
||||
$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
$(CC) $(LDFLAGS) $(CFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
|
||||
CLEANFILES= $(PROG)
|
||||
|
||||
|
@ -7,7 +7,7 @@ CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../inclu
|
||||
|
||||
|
||||
acpixtract : $(patsubst %.c,%.o, $(SRCS))
|
||||
$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
$(CC) $(LDFLAGS) $(CFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
||||
|
||||
CLEANFILES= $(PROG)
|
||||
|
||||
|
@ -7,7 +7,7 @@ PROG= iasl
|
||||
ACPICA_SRC = ..
|
||||
ASL_COMPILER = $(ACPICA_SRC)/compiler
|
||||
ACPICA_COMMON = $(ACPICA_SRC)/common
|
||||
ACPICA_CORE = $(ACPICA_SRC)/components
|
||||
ACPICA_CORE = $(ACPICA_SRC)
|
||||
ACPICA_TOOLS = $(ACPICA_SRC)/tools
|
||||
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
|
||||
|
||||
@ -166,7 +166,7 @@ MISC = \
|
||||
# Root rule
|
||||
#
|
||||
$(PROG) : $(INTERMEDIATES) $(OBJS)
|
||||
$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
|
||||
$(CC) $(OBJS) $(LDFLAGS) -o $(PROG)
|
||||
$(COPYPROG)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user