summaryrefslogtreecommitdiff
path: root/cleopatre
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre')
-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
#############################################################
#