Changeset 27185


Ignore:
Timestamp:
2011-06-15T23:11:49+02:00 (7 years ago)
Author:
hauke
Message:

bcm47xx: Remove kernel checks from image Makefile

2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the
2.6 check will break with 3.0, remove it alltogether.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/image/Makefile

    r24217 r27185  
    2525endef 
    2626 
    27 ifneq ($(KERNEL),2.4) 
    28   define Image/Build/wgt634u 
     27define Image/Build/wgt634u 
    2928        dd if=$(KDIR)/loader.elf of=$(BIN_DIR)/openwrt-wgt634u-$(2).bin bs=131072 conv=sync 
    3029        cat $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx >> $(BIN_DIR)/openwrt-wgt634u-$(2).bin 
    31   endef 
    32 endif 
     30endef 
    3331 
    3432define Image/Build/CyberTAN 
     
    7674        $(call Image/Build/CyberTAN,$(1),wrtsl54gs,W54U,2.08.1,$(patsubst jffs2-%,jffs2,$(1))) 
    7775        $(call Image/Build/trxV2,$(1),wrt54g3gv2-vf,3G2V,3.00.24,$(patsubst jffs2-%,jffs2,$(1)),6) 
    78   ifeq ($(KERNEL),2.6) 
    7976        $(call Image/Build/wgt634u,$(1),$(patsubst jffs2-%,jffs2,$(1))) 
    80   endif 
    8177endef 
    8278 
Note: See TracChangeset for help on using the changeset viewer.