CPPFLAGS := $(V3_INCLUDE) -D__V3VEE__
-CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone
+CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone -fno-common
-LDFLAGS := --whole-archive
+LDFLAGS := --whole-archive
ifeq ($(call cc-option-yn, -fgnu89-inline),y)
CFLAGS += -fgnu89-inline
tags TAGS cscope*
+# \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
+
+
# clean - Delete most, but leave enough to build external modules
#
clean: rm-dirs := $(CLEAN_DIRS)
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
-# \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
clean: archclean $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
ALLSOURCE_ARCHS := $(ARCH)
define all-sources
- ( find $(__srctree)/palacios $(RCS_FIND_IGNORE) \
+ ( find $(__srctree)palacios $(RCS_FIND_IGNORE) \
\( -name lib \) -prune -o \
-name '*.[chS]' -print; )
endef