OSDN Git Service

Fix build caused by 168380
authorKeun young Park <keunyoung@google.com>
Mon, 12 Mar 2012 19:10:42 +0000 (12:10 -0700)
committerKeun young Park <keunyoung@google.com>
Mon, 12 Mar 2012 19:10:42 +0000 (12:10 -0700)
Change-Id: Iebda5669f48fe505146b8f2f8b35d06621d4b0e6

core/main.mk

index 41e788f..5604df2 100644 (file)
@@ -213,7 +213,7 @@ endif
 # pdk2 : HAL build for chipset vendors
 
 PDK_BUILD_TYPE:= $(filter pdk1 pdk2,$(MAKECMDGOALS))
-ifneq (1,$(words $(PDK_BUILD_TYPE)))
+ifeq (2,$(words $(PDK_BUILD_TYPE)))
   $(error You can't build pdk1 and pdk2 in the same run.)
 endif
 ifneq ($(PDK_BUILD_TYPE),)