Remove the band-aid to make these compile on amd64/ia64.
This commit is contained in:
parent
47742de0ef
commit
c0efcff271
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118785
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PROG= acpidb
|
PROG= acpidb
|
||||||
SRCS+= acpidb.c
|
SRCS+= acpidb.c
|
||||||
SRCS+= osunixxf-xxx.c
|
SRCS+= osunixxf.c
|
||||||
SRCS+= dbcmds.c dbdisply.c dbexec.c dbfileio.c \
|
SRCS+= dbcmds.c dbdisply.c dbexec.c dbfileio.c \
|
||||||
dbhistry.c dbinput.c dbstats.c dbutils.c \
|
dbhistry.c dbinput.c dbstats.c dbutils.c \
|
||||||
dbxface.c dmbuffer.c dmnames.c dmobject.c \
|
dbxface.c dmbuffer.c dmnames.c dmobject.c \
|
||||||
@ -39,9 +39,4 @@ MAN= acpidb.8
|
|||||||
CFLAGS+= -DACPI_APPLICATION -DACPI_DEBUG_OUTPUT -DACPI_DEBUGGER \
|
CFLAGS+= -DACPI_APPLICATION -DACPI_DEBUG_OUTPUT -DACPI_DEBUGGER \
|
||||||
-DACPI_DISASSEMBLER
|
-DACPI_DISASSEMBLER
|
||||||
|
|
||||||
# The following band-aid is also present in ../iasl/Makefile
|
|
||||||
CLEANFILES+= osunixxf-xxx.c
|
|
||||||
osunixxf-xxx.c: osunixxf.c
|
|
||||||
cat ${.ALLSRC} | sed -e 's/UINT32 *length/ACPI_SIZE length/g' -e 's/UINT32 *size/ACPI_SIZE size/g' -e 's/(UINT32) where/(uintptr_t)where/g' > ${.TARGET}
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -7,7 +7,7 @@ SRCS+= aslcompilerparse.c aslcompilerlex.c aslanalyze.c aslcodegen.c \
|
|||||||
aslmap.c aslopcodes.c asloperands.c aslresource.c \
|
aslmap.c aslopcodes.c asloperands.c aslresource.c \
|
||||||
aslrestype1.c aslrestype2.c asltree.c aslutils.c \
|
aslrestype1.c aslrestype2.c asltree.c aslutils.c \
|
||||||
asltransform.c aslfold.c aslstubs.c aslopt.c
|
asltransform.c aslfold.c aslstubs.c aslopt.c
|
||||||
SRCS+= adisasm.c getopt.c osunixxf-xxx.c
|
SRCS+= adisasm.c getopt.c osunixxf.c
|
||||||
SRCS+= dbfileio.c dmbuffer.c dmnames.c dmopcode.c dmobject.c \
|
SRCS+= dbfileio.c dmbuffer.c dmnames.c dmopcode.c dmobject.c \
|
||||||
dmresrc.c dmresrcl.c dmresrcs.c dmutils.c dmwalk.c \
|
dmresrc.c dmresrcl.c dmresrcs.c dmutils.c dmwalk.c \
|
||||||
dsopcode.c dsutils.c dswexec.c dswload.c \
|
dsopcode.c dsutils.c dswexec.c dswload.c \
|
||||||
@ -49,9 +49,4 @@ aslcompilerlex.c: aslcompiler.l
|
|||||||
${LEX} ${LFLAGS} -PAslCompiler -oaslcompilerlex.c \
|
${LEX} ${LFLAGS} -PAslCompiler -oaslcompilerlex.c \
|
||||||
${ACPICA_DIR}/compiler/aslcompiler.l
|
${ACPICA_DIR}/compiler/aslcompiler.l
|
||||||
|
|
||||||
# The following band-aid is also present in ../acpidb/Makefile
|
|
||||||
CLEANFILES+= osunixxf-xxx.c
|
|
||||||
osunixxf-xxx.c: osunixxf.c
|
|
||||||
cat ${.ALLSRC} | sed -e 's/UINT32 *length/ACPI_SIZE length/g' -e 's/UINT32 *size/ACPI_SIZE size/g' -e 's/(UINT32) where/(uintptr_t)where/g' > ${.TARGET}
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user