OSDN Git Service

build: Ensure that output directories for header objects are created
authorDiego Biurrun <diego@biurrun.de>
Tue, 19 Feb 2013 23:15:15 +0000 (00:15 +0100)
committerDiego Biurrun <diego@biurrun.de>
Tue, 19 Feb 2013 23:45:30 +0000 (00:45 +0100)
common.mak

index 5d80986..b134835 100644 (file)
@@ -43,11 +43,12 @@ $(HOSTPROGS): %$(HOSTEXESUF): %.o
        $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $< $(HOSTLIBS)
 
 $(OBJS):     | $(sort $(dir $(OBJS)))
+$(HOBJS):    | $(sort $(dir $(HOBJS)))
 $(HOSTOBJS): | $(sort $(dir $(HOSTOBJS)))
 $(TESTOBJS): | $(sort $(dir $(TESTOBJS)))
 $(TOOLOBJS): | tools
 
-OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOSTOBJS) $(TESTOBJS))
+OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(TESTOBJS))
 
 CLEANSUFFIXES     = *.d *.o *~ *.h.c *.map *.ver
 DISTCLEANSUFFIXES = *.pc