author | kergoth <kergoth> | 2003-01-16 04:01:29 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-16 04:01:29 (UTC) |
commit | 73927fe1c095507ce7fdd310917521fcd305b7e5 (patch) (side-by-side diff) | |
tree | d09eb7d1e2a845b6e974150e369ea73dca89cb64 /Rules.make | |
parent | 4e6e6deda15467fe253b546136df00cf5b7ebd02 (diff) | |
download | opie-73927fe1c095507ce7fdd310917521fcd305b7e5.zip opie-73927fe1c095507ce7fdd310917521fcd305b7e5.tar.gz opie-73927fe1c095507ce7fdd310917521fcd305b7e5.tar.bz2 |
Use paths relative to OPIEDIR in generated configs.
-rw-r--r-- | Rules.make | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,26 +65,26 @@ $(TOPDIR)/library/custom.h : $(TOPDIR)/.config @$(if $(patsubst "%",%,$(CONFIG_CUSTOMFILE)),\ ln -sf $(patsubst "%",%,$(CONFIG_CUSTOMFILE)) $@) @touch $@ $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/conf scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/mconf scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/qconf scripts/kconfig/qconf $(TOPDIR)/qmake/qmake : $(call descend,$(shell dirname $@),$(shell basename $@)) $(TOPDIR)/qmake/qmake : $(TOPDIR)/mkspecs/default $(TOPDIR)/mkspecs/default : ln -sf linux-g++ $@ ## general rules ## define descend $(MAKE) $(if $(QMAKE),QMAKE=$(QMAKE)) -C $(1) $(2) endef define makefilegen cd $(if $(1),$(shell dirname $(1))); $(TOPDIR)/qmake/qmake $(3) -o $(if $(1),$(shell basename $(1))) `cat $(OPIEDIR)/packages | grep " \`echo $(1)|sed -e 's,/Makefile$$,,'\` " | \ head -1 | awk '{print $$3}'` endef define makecfg - $(TOPDIR)/scripts/makecfg.pl $1 + $(TOPDIR)/scripts/makecfg.pl $1 $(OPIEDIR) endef |