summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Carré2013-03-05 15:14:47 +0100
committerThierry Carré2013-03-08 14:22:55 +0100
commit7326744a482dec6340b505cf5b5ae2dff92c62ec (patch)
treefa8956be467ae5ed54b8d87c428d6f8bb50d6b6f
parentfffa5ac835185e9284933c7974fe9016c690e377 (diff)
cleo/{buildroot/package, app/lltd}: update lltd makefile rules
add "-Wall" option
-rw-r--r--cleopatre/application/lltd/Makefile7
-rw-r--r--cleopatre/buildroot/package/lltd/lltd.mk7
2 files changed, 10 insertions, 4 deletions
diff --git a/cleopatre/application/lltd/Makefile b/cleopatre/application/lltd/Makefile
index fd57a06e3f..cc2658cd07 100644
--- a/cleopatre/application/lltd/Makefile
+++ b/cleopatre/application/lltd/Makefile
@@ -14,7 +14,12 @@ else #compile from buildroot
CC_WITH_CFLAGS=$(CC)
CC_WITHOUT_CFLAGS=$(CC_FOR_TARGET)
endif
-EXTRA_CFLAGS=-I$(INCPATH) -I$(LINUX_DIR)/include -MMD -pipe @$(CLEO_DIR )/$(RESPONSE_FILE)
+
+INCLUDES = -I$(INCPATH) \
+ -I$(LINUX_DIR)/include
+
+EXTRA_CFLAGS = $(INCLUDES) -Wall -MMD -pipe \
+ @$(CLEO_DIR )/$(RESPONSE_FILE)
SRCS=$(subst $(SRCPATH)/,,$(wildcard $(SRCPATH)/*.c))
OBJS=$(addprefix $(OBJPATH)/,$(SRCS:.c=.o))
diff --git a/cleopatre/buildroot/package/lltd/lltd.mk b/cleopatre/buildroot/package/lltd/lltd.mk
index 6b7d31a0b7..836b414cbf 100644
--- a/cleopatre/buildroot/package/lltd/lltd.mk
+++ b/cleopatre/buildroot/package/lltd/lltd.mk
@@ -36,7 +36,8 @@ $(LLTD_DIR)/.unpacked:
$(LLTD_DIR)/.configured: $(LLTD_DIR)/.unpacked
touch $(LLTD_DIR)/.configured
-$(LLTD_DIR)/lltd: $(LLTD_DIR)/.configured
+$(LLTD_DIR)/lltd: $(LLTD_DIR)/.configured \
+ FORCE_LLTD_MAKE
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(LLTD_DIR) lltd
@@ -52,8 +53,8 @@ lltd-clean:
lltd-dirclean:
rm -f $(LLTD_DIR)
-# We declare $(LLTD_DIR)/lltd rule as PHONY to force compilation
-.PHONY: $(LLTD_DIR)/lltd
+# We declare FORCE_LLTD_MAKE rule as PHONY to force compilation
+.PHONY: FORCE_LLTD_MAKE
#############################################################
#