linux-mips
[Top] [All Lists]

[PATCH 3/3] ar7: override CFLAGS with -Werror

To: linux-mips@linux-mips.org
Subject: [PATCH 3/3] ar7: override CFLAGS with -Werror
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 24 Jul 2009 13:19:10 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:to:cc:content-type :content-transfer-encoding:content-disposition:message-id; bh=GcCS5NigdtBX69dXXLshrB3XrEtRSo4eASWJUCDY1hA=; b=SLESlwpylC+G7y6KBhJjrCYKnfHrja+/agCHSHY8bmkeQDgwO7E0RfPIbvPvCXXwJR rAHy8SDxXpXUObKpJbpX8q2zZ1vsksl3zfZqEpUsLrRYGmZOi94vnsGSMH5jBAPMkyYA ihJUqTf/ksje0aoTcorzV9hU2TJjCEo59nFEk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:to:cc :content-type:content-transfer-encoding:content-disposition :message-id; b=cUdsqs3WQ9dQrHd98o/QHKwKMzWkxAK1B0AFxLcYH8ESVhe+o6u5pIUxfk7SsBA3IE rkWOQyQN/fihoUGI46JuBXP5SB4VNy9Pitb6b0B+H+51c9Fo8MrC9oFlUD5d9ybCEGIt uCbC8LgpzGyq7x3ySfUC8T3Sclrtsarw3h1/k=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Now that we have removed all warnings from the ar7 board
code we can use -Werror like on other MIPS boards.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/ar7/Makefile b/arch/mips/ar7/Makefile
index 7435e44..26bc5da 100644
--- a/arch/mips/ar7/Makefile
+++ b/arch/mips/ar7/Makefile
@@ -8,3 +8,4 @@ obj-y := \
        platform.o \
        gpio.o \
        clock.o
+EXTRA_CFLAGS += -Werror

<Prev in Thread] Current Thread [Next in Thread>