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)
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)