Fix the tgz image build
[openwrt/staging/mkresin.git] / target / linux / adm5120-2.6 / image / Makefile
index d76e1e1feeb1a39642f08a66a8a2ae4a32da3a35..b9ae44ecb41cb1307be0fe90ac7d3e25993cdaa5 100644 (file)
@@ -90,6 +90,7 @@ 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)
@@ -119,6 +120,7 @@ ifeq ($(CONFIG_DEVEL),y)
 endif
 endif
 endif
+endif
 ifeq ($(1),tgz)
        $(call Image/Build/RouterBoard)
 endif