openap-cvs
[Top][All Lists]
Advanced

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

[openap-cvs] : openap-main Makefile,1.2,1.3


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : openap-main Makefile,1.2,1.3
Date: Thu, 18 Jul 2002 20:58:07 -0400

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

Modified Files:
        Makefile 
Log Message:
fix spelling, better error checks, remove cruft

Index: Makefile
===================================================================
RCS file: /cvsroot/openap/openap-main/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile    19 Jul 2002 00:39:02 -0000      1.2
+++ Makefile    19 Jul 2002 00:58:05 -0000      1.3
@@ -9,7 +9,7 @@
 # Set this to your target board.
 TARGET=wl11000
 
-# Set this to your taret flavor, if any.  Leave it as 'def' if you
+# Set this to your target flavor, if any.  Leave it as 'def' if you
 # want the default.
 FLAVOR=def
 
@@ -53,16 +53,14 @@
 HOSTCC         ="/usr/bin/gcc -B/usr/bin/"
 
 include make/rules.mk
-sinclude config/$(TARGET)/config.mk
+include config/$(TARGET)/config.mk
 
 # If we are building the toolchain we don't need or want to change the path.
 ifneq ($(MAKECMDGOALS),tools)
 ifneq ($(MAKECMDGOALS),bootstrap)
-ifneq ($(MAKECMDGOALS),foo)
 
PATH:=$(CONFIG_PREFIX)/$(CONFIG_TARGET)/$(ARCH)-linux/bin:$(CONFIG_PREFIX)/$(CONFIG_TARGET)/bin:$(PATH)
 endif
 endif
-endif
 
 export HOSTCC OPENAP_VERSION TOPDIR CONFIG_SITE PATH TOOL_PREFIX TARGET_PATH 
ARCH \
   TARGET
@@ -223,13 +221,15 @@
            --ldlib=ld-uClibc.so.0 \
            `find $(IMAGE_DIR) -type f -perm +0111`
 
-menuconfig:
+checkconfig:
        [ -f $(TARGET_CONFIG) ] || \
                (echo "$(TARGET_CONFIG) does not exist!"; exit 1)
+
+menuconfig: checkconfig
        $(MAKE) -C scripts/lxdialog all
        $(CONFIG_SHELL) scripts/Menuconfig $(TARGET_CONFIG)
 
-oldconfig: $(TOPDIR)/.config
+oldconfig: $(TOPDIR)/.config checkconfig
        $(CONFIG_SHELL) scripts/Configure -d $(TARGET_CONFIG)
 
 subdir-y :=




reply via email to

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