[coreboot] micropatch for flashrom
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Tue Jun 16 02:21:17 CEST 2009
On 15.06.2009 15:32, Maciej Pijanka wrote:
> it migth help with catching unusual uname output
>
> Signed-Off-by: Maciej Pijanka <maciej.pijanka at gmail.com
>
> 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/
More information about the coreboot
mailing list