Added back in -image targets for Master makes for unslung, openembedded, and ucslugc
authorTom King <ka6sox@nslu2-linux.org>
Sun, 21 Aug 2005 00:57:04 +0000 (00:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 21 Aug 2005 00:57:04 +0000 (00:57 +0000)
Makefile
common/openembedded.mk

index e984bd7..c94f257 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -163,8 +163,30 @@ else
 ucslugc build-ucslugc:
 endif
 
-.PHONY: optware build-optware
-optware build-optware: build-optware-nslu2 build-optware-wl500g
+
+.PHONY: unslung-image build-unslung-image
+ifneq ($(HOST_MACHINE),armeb)
+unslung-image build-unslung-image: unslung/.configured bitbake/.configured openembedded/.configured
+       ( cd unslung ; ${MAKE} image)
+else
+unslung-image build-unslung-image:
+endif
+
+.PHONY: openslug-image build-openslug-image
+ifneq ($(HOST_MACHINE),armeb)
+openslug-image build-openslug-image: openslug/.configured bitbake/.configured openembedded/.configured
+       ( cd openslug ; ${MAKE} image )
+else
+openslug build-openslug:
+endif
+
+.PHONY: ucslugc build-ucslugc
+ifneq ($(HOST_MACHINE),armeb)
+ucslugc-image build-ucslugc-image: ucslugc/.configured bitbake/.configured openembedded/.configured
+       ( cd ucslugc ; ${MAKE} image)
+else
+ucslugc build-ucslugc:
+endif
 
 .PHONY: optware-nslu2 build-optware-nslu2
 ifneq ($(HOST_MACHINE),armeb)
index c4b5d56..bf691ce 100644 (file)
@@ -17,14 +17,18 @@ REQUIRED_DIRS = bitbake openembedded
 FIRMWARE_DEPS = create-topdir $(BUILD_DIRS) $(REQUIRED_DIRS)
 BITBAKE = bitbake
 
-# The default rule is to build the firmware in an unprotected environment.
-firmware: $(FIRMWARE_DEPS)
+# The default rule is to build everything in an unprotected environment.
+distro: $(FIRMWARE_DEPS)
        . ./setup-env; exec ${BITBAKE} $(DISTRO)-packages
 
+# The default rule is to build the firmware in an unprotected environment.
+image: $(FIRMWARE_DEPS)
+       . ./setup-env; exec ${BITBAKE} $(DISTRO)-image
+
 # This rule clobbers the environment (note that ccache uses '$HOME' by
 # default, so the cache will end up there).
-firmware-safe:
-       env -i HOME="$${HOME}" PATH="$${PATH}" $(MAKE) firmware
+distro-safe:
+       env -i HOME="$${HOME}" PATH="$${PATH}" $(MAKE) distro
 
 # The default rule is to build the firmware in an unprotected environment.
 prefetch: $(FIRMWARE_DEPS)