ppc44x: remove 3.8 support
[openwrt.git] / target / linux / cns21xx / image / Makefile
index 711a85e8f52389f9bdf095714ae07eab29391fb2..45dab986de62490cbd0ad847b6dd084e07a2ae9d 100644 (file)
@@ -40,7 +40,7 @@ endef
 
 define prepare_zimage
        echo -en "\x$(2)\x1c\xa0\xe3\x$(3)\x10\x81\xe3" > $(KDIR)/$(call zimage_name,$(1))
-       cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/$(call zimage_name,$(1))
+       cat $(KDIR)/zImage >> $(KDIR)/$(call zimage_name,$(1))
 endef
 
 define prepare_uimage
@@ -66,9 +66,9 @@ endef
 
 define Image/Build/Generic
        if [ `stat -c%s "$(KDIR)/$(call zimage_name,$(2))"` -gt 1048576 ]; then \
-               echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big"; \
+               echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big" >&2; \
        else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \
-               echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \
+               echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \
        else \
                cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \
                ( \
@@ -80,9 +80,9 @@ endef
 
 define Image/Build/uImage
        if [ `stat -c%s "$(KDIR)/$(call uimage_name,$(2))"` -gt 1048576 ]; then \
-               echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big"; \
+               echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big" >&2; \
        else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \
-               echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \
+               echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \
        else \
                cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \
                ( \