X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fmtd%2FMakefile;h=f429128e02d41ab62b925f3f8cf978d3cb3ff0e7;hp=ced26d5c6cbc8d73494eab573092690731ae12f9;hb=f40154c06cfcb2e60cc7b0dbffb0af4555449a58;hpb=baab9a6aec814bd57f5a598fefe164f7c87aed6a diff --git a/package/mtd/Makefile b/package/mtd/Makefile index ced26d5c6c..f429128e02 100644 --- a/package/mtd/Makefile +++ b/package/mtd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,11 +9,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=mtd -PKG_RELEASE:=11 +PKG_RELEASE:=20 PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME) STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS) +PKG_LICENSE:=GPLv2 GPLv2+ +PKG_LICENSE_FILES:= + include $(INCLUDE_DIR)/package.mk define Package/mtd @@ -35,7 +38,7 @@ endef target=$(firstword $(subst -, ,$(BOARD))) MAKE_FLAGS += TARGET="$(target)" -TARGET_CFLAGS += -Dtarget_$(target)=1 -Wall +TARGET_CFLAGS := $(TARGET_CFLAGS) -Dtarget_$(target)=1 -Wall ifdef CONFIG_MTD_REDBOOT_PARTS MAKE_FLAGS += FIS_SUPPORT=1