diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index 829ddef3da8..ee70b6b1aaa 100644 --- a/target/linux/adm5120-2.6/image/Makefile +++ b/target/linux/adm5120-2.6/image/Makefile @@ -90,7 +90,6 @@ define Image/Build # this line is here intentionally ifneq ($(1),jffs2-256k) ifneq ($(1),jffs2-128k) -ifneq ($(1),tgz) $(call Image/Build/Compex,$(1),wp54g-wrt,$(patsubst jffs2-%,jffs2,$(1)),WP54G-WRT) ifeq ($(CONFIG_DEVEL),y) $(call Image/Build/Edimax,$(1),br-6104k,$(patsubst jffs2-%,jffs2,$(1)),BR-6104K) @@ -120,7 +119,6 @@ ifeq ($(CONFIG_DEVEL),y) endif endif endif -endif endef ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) diff --git a/target/linux/rb532-2.6/image/Makefile b/target/linux/rb532-2.6/image/Makefile index a9e2b9575c4..6e2319c5fb1 100644 --- a/target/linux/rb532-2.6/image/Makefile +++ b/target/linux/rb532-2.6/image/Makefile @@ -56,9 +56,7 @@ endef define Image/Build $(STAGING_DIR)/bin/patch-cmdline $(KDIR)/vmlinux.elf '$(strip $(call Image/cmdline/$(1))) ' -ifneq ($(1),tgz) ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin 4 $(KDIR)/vmlinux.elf $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1) -endif endef $(eval $(call BuildImage))