openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : openap-main Makefile,1.14,1.15


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : openap-main Makefile,1.14,1.15
Date: Mon, 05 Aug 2002 19:47:11 -0400

Update of /cvsroot/openap/openap-main
In directory subversions:/tmp/cvs-serv14467

Modified Files:
        Makefile 
Log Message:
more facility changes

Index: Makefile
===================================================================
RCS file: /cvsroot/openap/openap-main/Makefile,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Makefile    5 Aug 2002 21:44:57 -0000       1.14
+++ Makefile    5 Aug 2002 23:47:08 -0000       1.15
@@ -47,7 +47,8 @@
 CONFIG_PREFIX  := $(shell echo $(CONFIG_PREFIX))
 CONFIG_TARGET  := $(shell echo $(CONFIG_TARGET))
 TARGET_PATH    =  $(CONFIG_PREFIX)/$(CONFIG_TARGET)
-CONFIG_SITE    = $(TOPDIR)/config/cross-config.linux
+TOOLDIR                =  $(TARGET_PATH)
+CONFIG_SITE    =  $(TOPDIR)/config/cross-config.linux
 ARCH           =  $(shell echo $(CONFIG_TARGET) | sed -e 's/-.*//')
 CROSS_COMPILE  =  $(CONFIG_TARGET)-
 MKLIBSFLAGS    = --no-default-lib  -L $(CONFIG_PREFIX)/$(CONFIG_TARGET)/lib \
@@ -83,7 +84,7 @@
 export HOSTCC OPENAP_VERSION TOPDIR CONFIG_SITE PATH TOOL_PREFIX TARGET_PATH \
        CONFIG_TARGET ARCH TARGET CC LD AR STRIP BUILD_HOST BUILD_CC \
        TARGET_CC STRIPFLAGS KERNEL_DIR MAKEFLAGS OBJCOPY CROSS_COMPILE \
-       DESTDIR INSTALL
+       DESTDIR TOOLDIR INSTALL MKNOD
 
 bootstrap: tools configure config_pcmcia kernel
 
@@ -277,6 +278,14 @@
 
 SUBDIRS= $(subdir-y)
 
+install_tools:
+       for dir in $(SUBDIRS) ; do \
+               if ! $(MAKE) -C $$dir -f facility/rules install_tools ; then \
+                   exit 1; \
+               fi \
+       done
+
+# build files for target
 subdirs: 
        for dir in $(SUBDIRS) ; do \
                if ! $(MAKE) -C $$dir -f facility/rules build ; then \
@@ -284,15 +293,15 @@
                fi \
        done
 
+# install files into target directory
 install: subdirs
        for dir in $(SUBDIRS) ; do \
-               if ! $(MAKE) -C $$dir install \
+               if ! $(MAKE) -C $$dir -f facility/rules install \
                        IMAGE_DIR=$(IMAGE_DIR) ; then \
                    exit 1 ; \
                fi \
        done
 
-include config/$(TARGET)/config.mk
 
 clean: clean_image
        for dir in $(SUBDIRS) ; do \
@@ -300,6 +309,7 @@
        done
        $(RM) flash flash.md5 $(STAMPDIR)/.configure
 
-.PHONY : $(SUBDIRS) flash
-
+include config/$(TARGET)/config.mk
 -include config/$(TARGET)/$(FLAVOR)config.mk
+
+.PHONY : $(SUBDIRS) flash




reply via email to

[Prev in Thread] Current Thread [Next in Thread]