diff --git a/coreLinux/defs.mk b/coreLinux/defs.mk index 51a2bd8..e5da387 100644 --- a/coreLinux/defs.mk +++ b/coreLinux/defs.mk @@ -100,7 +100,7 @@ modules-LOCALS += SHARED_LIBRARIES modules-LOCALS += EXTERNAL_LIBRARIES # Additional include directories to pass into the C/C++ compilers -# Format : -I +# Format : modules-LOCALS += C_INCLUDES # Additional flags to pass into the C or C++ compiler diff --git a/coreLinux/main.mk b/coreLinux/main.mk index b972a17..1057423 100644 --- a/coreLinux/main.mk +++ b/coreLinux/main.mk @@ -122,10 +122,15 @@ USER_MAKEFILES:=$(TARGET_OUT_BUILD)/makefiles.mk ifeq ("$(findstring $(SCAN_TARGET),$(MAKECMDGOALS))","") include $(USER_MAKEFILES) endif -$(info mydir="$(my-dir)") -$(info pwd="$(shell pwd)") -$(info TOP_DIR="$(TOP_DIR)") -$(info USER_PACKAGES="$(USER_PACKAGES)") + +#display the properties of the currend building folder ... +ifeq ("$(V)","1") + $(info mydir="$(my-dir)") + $(info pwd="$(shell pwd)") + $(info TOP_DIR="$(TOP_DIR)") + $(info USER_PACKAGES="$(USER_PACKAGES)") +endif + # Create a file that will contain all user makefiles available define create-user-makefiles-file rm -f $(USER_MAKEFILES); \ diff --git a/coreLinux/rules.mk b/coreLinux/rules.mk index e42c2eb..fcde9ea 100644 --- a/coreLinux/rules.mk +++ b/coreLinux/rules.mk @@ -25,7 +25,7 @@ LOCAL_STAGING_MODULE := $(call module-get-staging-filename,$(LOCAL_MODULE)) LOCAL_TARGETS += $(LOCAL_BUILD_MODULE) # Prepend some directories in include list -LOCAL_C_INCLUDES := -I$(build_dir) -I$(LOCAL_PATH) $(LOCAL_C_INCLUDES) +LOCAL_C_INCLUDES := $(build_dir) $(LOCAL_PATH) $(LOCAL_C_INCLUDES) ############################################################################### ## ARM specific checks. diff --git a/grc.conf.gcc b/grc.conf.gcc new file mode 100644 index 0000000..30e7893 --- /dev/null +++ b/grc.conf.gcc @@ -0,0 +1,58 @@ +# +regexp=\bgcc\b +colours=yellow +count=more +......... +# +regexp=^[^:\s]*?:\d+: +colours=bold magenta +......... +regexp=^[^:\s]*?: +colours=cyan +count=once +......... +# +regexp=\`[A-Za-z0-9_():&*]+( const)?\' +colours=magenta +......... +# -O +regexp=\-O\d +colours=green +......... +# -o +regexp=\-o\s.+\b +colours=yellow +......... +# warning and error won't work, unless you redirect also +# stderr to grcat +# +# warning +regexp=warning:.* +colours=white +......... +regexp=warning: +colours=bold yellow +count=once +......... +# error +regexp=error:.* +colours=bold white +......... +regexp=error: +colours=bold white on_red +count=once +......... +#note +regexp=note: +colours=bold cyan +count=once +......... +# android compilation +regexp=(<==|==>) +colours=bold red +count=once +......... +#special extention files +regexp=[\.A-Za-z0-9_/]+\.(a|so|exe|bin|dll) +colours=bold green +count=once \ No newline at end of file