Selaa lähdekoodia

Fix single-image build with GNU Make 3.81

Matthias Schiffer 11 vuotta sitten
vanhempi
commit
9206ed2ce2
1 muutettua tiedostoa jossa 7 lisäystä ja 3 poistoa
  1. 7 3
      Makefile

+ 7 - 3
Makefile

@@ -56,6 +56,13 @@ include $(TOPDIR)/include/debug.mk
 include $(TOPDIR)/include/depends.mk
 include $(TOPDIR)/include/toplevel.mk
 
+define GluonProfile
+image/$(1): FORCE
+	+@$$(GLUONMAKE) $$@
+endef
+
+include $(GLUONDIR)/profiles.mk
+
 all: FORCE
 	+@$(GLUONMAKE) prepare
 	+@$(GLUONMAKE) images
@@ -66,9 +73,6 @@ prepare: FORCE
 images: FORCE
 	+@$(GLUONMAKE) images
 
-image/%:: FORCE
-	+@$(GLUONMAKE) $@
-
 clean: clean-gluon
 
 clean-gluon: