From cc3cf69f41c1e939c02ec9602b7caaee9fb9cf49 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 7 May 2008 16:45:00 +0000 Subject: add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11059 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/Makefile') diff --git a/package/Makefile b/package/Makefile index e618a90b6..a1f20b0b1 100644 --- a/package/Makefile +++ b/package/Makefile @@ -17,6 +17,9 @@ else $(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m)) $(curdir)/builddirs-install:=. $(sort $(package-y)) endif +ifneq ($(IGNORE_ERRORS),) + $(curdir)/builddirs-ignore-compile:= $(if $(filter m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(m))),$(package-m)) +endif $(curdir)/install:=$(curdir)/install-cleanup -- cgit v1.2.3