summaryrefslogtreecommitdiff
path: root/Makefile.test
Side-by-side diff
Diffstat (limited to 'Makefile.test') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.test b/Makefile.test
index 00cc906..55700f1 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -31,61 +31,65 @@ clean-configs : $(TOPDIR)/.depends.cfgs
all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs)
$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
$(call descend,scripts/kconfig,conf)
@if [ ! -e $@ ]; then \
cp $(TOPDIR)/def-configs/opie $@; \
fi;
@$(MAKE) -C scripts/kconfig conf;
./scripts/kconfig/conf -s ./config.in
# config rules must have the $(configs) var defined
# at the time that they run. we must ensure that .depends.cfgs
# is built and included by the time we reach this point.
xconfig :
$(call descend,scripts/kconfig,qconf)
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \
./scripts/kconfig/qconf ./config.in
menuconfig : scripts/lxdialog/lxdialog
$(call descend,scripts/kconfig,mconf)
./scripts/kconfig/mconf ./config.in
config :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf ./config.in
oldconfig :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf -o ./config.in
randconfig :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf -r ./config.in
allyesconfig :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf -y ./config.in
allnoconfig :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf -n ./config.in
defconfig :
$(call descend,scripts/kconfig,conf)
./scripts/kconfig/conf -d ./config.in
+export
+
-include $(TOPDIR)/.config
-include $(TOPDIR)/..config.cmd
-include $(TOPDIR)/.depends
export QMAKESPEC=$(QMAKESPECSDIR)/qws/$(patsubst "%",%,$(CONFIG_SPECFILE))
all clean: $(subdir-y)
-$(subdir-y) : $(TOPDIR)/stamp-headers $(TOPDIR)/library/custom.h
+$(subdir-y) : $(if $(CONFIG_LIBQPE),$(TOPDIR)/stamp-headers) \
+ $(if $(CONFIG_LIBQPE-X11),$(TOPDIR)/stamp-headers-x11) \
+ $(TOPDIR)/library/custom.h
clean : $(TOPDIR)/.config
include $(TOPDIR)/Rules.make