Update generic unix makefiles

remove.exe extension, add define for _GNU_SOURCE, add
-lpthread and -lrt loader flags for iasl.
Lin Ming.
This commit is contained in:
Robert Moore 2010-08-20 12:41:45 -07:00
parent a598d63bbe
commit 40ac8b3ff3
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@ include Makefile.config
all: ${DIRS}
${DIRS}: FORCE
@cd $@; make; ls -al $@.exe
@cd $@; make; ls -al $@
clean: FORCE
@for d in ${DIRS}; do \

View File

@ -30,9 +30,9 @@ COPYPROG = @mkdir -p ../bin; rm -f ../bin/$(PROG); cp --remove-destination
# Common compiler flags. The warning flags in addition to -Wall are not
# automatically included in -Wall.
#
CFLAGS+= -Os -D$(HOST) -I$(ACPICA_SRC)/include
CFLAGS+= -Os -D$(HOST) -I$(ACPICA_SRC)/include -D_GNU_SOURCE
CWARNINGFLAGS = \
-ansi -D_ANSI \
-ansi \
-Wall \
-Wbad-function-cast \
-Wdeclaration-after-statement \

View File

@ -10,6 +10,7 @@ PROG = iasl
# Flags specific to iASL compiler
#
CFLAGS+= -DACPI_ASL_COMPILER -I$(ASL_COMPILER) -I.
LDFLAGS+= -lpthread -lrt
OBJS = \
adfile.o \