sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
[15.05/openwrt.git] / target / linux / sunxi / image / Makefile
index 81ba597..e7991cf 100644 (file)
@@ -100,6 +100,8 @@ endef
 define Image/Build
        $(call Image/Build/$(1),$(1))
        $(call Image/Build/Profile/$(PROFILE),$(1))
+       
+       dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync
 endef
 
 $(eval $(call BuildImage))