summaryrefslogtreecommitdiffstats
path: root/package/microwin/microwin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/microwin/microwin.mk')
-rw-r--r--package/microwin/microwin.mk61
1 files changed, 0 insertions, 61 deletions
diff --git a/package/microwin/microwin.mk b/package/microwin/microwin.mk
deleted file mode 100644
index 5c7d30303..000000000
--- a/package/microwin/microwin.mk
+++ /dev/null
@@ -1,61 +0,0 @@
-#############################################################
-#
-# Microwindows - 2003/11/17 Greg Haerr
-# (requires CVS 2003/11/17 or later)
-#
-#############################################################
-MICROWIN_SITE:=ftp://ftp.microwindows.org/pub/microwindows
-MICROWIN_SOURCE:=microwindows-src-snapshot.tar.gz
-MICROWIN_DIR:=$(BUILD_DIR)/microwin
-#MICROWIN_SOURCE:=microwindows-0.91.tar.gz
-#MICROWIN_DIR:=$(BUILD_DIR)/microwindows-0.91
-
-MICROWIN_CAT:=$(ZCAT)
-MICROWIN_BINARY:=$(MICROWIN_DIR)/src/bin/nano-X
-MICROWIN_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/nano-X
-MICROWIN_VERSION=$(subst $(MICROWIN_DIR)/microwindows-,,$(wildcard $(MICROWIN_DIR)/microwindows-*))
-
-MICROWIN_CONFIG:=$(MICROWIN_DIR)/src/Configs/config.uclibc
-
-$(DL_DIR)/$(MICROWIN_SOURCE):
- $(call DOWNLOAD,$(MICROWIN_SITE),$(MICROWIN_SOURCE))
-
-microwin-source: $(DL_DIR)/$(MICROWIN_SOURCE)
-
-$(MICROWIN_DIR)/.unpacked: $(DL_DIR)/$(MICROWIN_SOURCE)
- [ -d $(MICROWIN_DIR) ] || mkdir $(MICROWIN_DIR)
- $(MICROWIN_CAT) $(DL_DIR)/$(MICROWIN_SOURCE) | tar -C $(MICROWIN_DIR) $(TAR_OPTIONS) -
- touch $(MICROWIN_DIR)/.unpacked
-
-$(MICROWIN_DIR)/.prepared: $(MICROWIN_DIR)/.unpacked
- mv $(MICROWIN_DIR)/microwindows-$(MICROWIN_VERSION)/* $(MICROWIN_DIR)
- toolchain/patch-kernel.sh $(MICROWIN_DIR) package/microwin/ microwindows-$(MICROWIN_VERSION)\*.patch
- touch $(MICROWIN_DIR)/.prepared
-
-$(MICROWIN_DIR)/.configured: $(MICROWIN_DIR)/.prepared
- (cd $(MICROWIN_DIR); \
- )
- touch $(MICROWIN_DIR)/.configured
-
-$(MICROWIN_BINARY): $(MICROWIN_DIR)/.configured
- $(MAKE) ARCH=LINUX-$(shell echo $(ARCH) | tr a-z A-Z) $(shell echo $(ARCH) | tr a-z A-Z)TOOLSPREFIX=$(TARGET_CROSS) CC="$(TARGET_CC)" -C $(MICROWIN_DIR)/src CONFIG=$(MICROWIN_CONFIG)
-
-$(MICROWIN_TARGET_BINARY): $(MICROWIN_BINARY)
- $(MAKE) INSTALL_PREFIX=$(TARGET_DIR)/usr INSTALL_OWNER1= INSTALL_OWNER2= CC="$(TARGET_CC)" -C $(MICROWIN_DIR)/src CONFIG=$(MICROWIN_CONFIG) install
-
-microwin: $(MICROWIN_TARGET_BINARY)
-
-microwin-clean:
- -$(MAKE) -C $(MICROWIN_DIR)/src clean
-
-microwin-dirclean:
- rm -rf $(MICROWIN_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_MICROWIN),y)
-TARGETS+=microwin
-endif