On 15.06.2009 15:32, Maciej Pijanka wrote: > it migth help with catching unusual uname output > > Signed-Off-by: Maciej Pijanka <[email protected] > > Index: Makefile > =================================================================== > --- Makefile (revision 593) > +++ Makefile (working copy) > @@ -30,14 +30,15 @@ > OS_ARCH = $(shell uname) > ifneq ($(OS_ARCH), SunOS) >
Note the ifNeq. That means the else at the end with dummy-target will trigger exactly when OS_ARCH=SunOS. Or did I misunderstand the code flow here? > STRIP_ARGS = -s > -endif > -ifeq ($(OS_ARCH), Darwin) > +else ifeq ($(OS_ARCH), Darwin) > CFLAGS += -I/usr/local/include > LDFLAGS += -framework IOKit -framework DirectIO -L/usr/local/lib > -endif > -ifeq ($(OS_ARCH), FreeBSD) > +else ifeq ($(OS_ARCH), FreeBSD) > CFLAGS += -I/usr/local/include > LDFLAGS += -L/usr/local/lib > +else > +dummy-target: > + echo "Your system $(OS_ARCH) isn't known to Makefile, try make all to > force building anyway" > endif > > LIBS += -lpci -lz > Regards, Carl-Daniel -- http://www.hailfinger.org/ -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

