-rw-r--r-- | Vars.make | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,33 +1,41 @@ -ifndef QTDIR -$(error QTDIR not set) -endif - prefix=/opt/QtPalmtop ifeq ($(OPIEDIR),) export OPIEDIR:=$(TOPDIR) endif ifeq ($(IPK_DIR),) export IPK_DIR:=$(OPIEDIR) endif ifneq ($(wildcard $(TOPDIR)/.config),) include $(TOPDIR)/.config endif +ifndef CONFIG_TARGET_OE + ifndef QTDIR + $(error QTDIR not set) + endif +else + OEDIR:=$(CONFIG_OE_BUILD_DIR) + QTDIR:=$(OEDIR)/tmp/staging/arm-linux/qt2 + $(shell mkdir -p $(QTDIR)/src/moc) + $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) + PLATFORM=sharp-linux +endif + ifdef CONFIG_TARGET_X86 PLATFORM=x86-linux endif ifdef CONFIG_TARGET_SHARP PLATFORM=sharp-linux endif ifdef CONFIG_TARGET_IPAQ PLATFORM=ipaq-linux endif ifdef CONFIG_TARGET_RAMSES PLATFORM=ramses-linux endif ifdef CONFIG_TARGET_SIMPAD PLATFORM=simpad-linux endif |