3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
12 $(eval
$(call PKG_template
,MTD
,$(PKG_NAME
),$(PKG_RELEASE
),$(ARCH
)))
13 $(eval
$(call PKG_template
,MTD_STATIC
,mtd-static
,$(PKG_RELEASE
),$(ARCH
)))
15 $(PKG_BUILD_DIR
)/.prepared
:
19 $(PKG_BUILD_DIR
)/.built
:
20 $(TARGET_CC
) $(TARGET_CFLAGS
) -o
$(PKG_BUILD_DIR
)/mtd mtd.c
21 $(TARGET_CC
) -static
$(TARGET_CFLAGS
) -o
$(PKG_BUILD_DIR
)/mtd-static mtd.c
25 install -d
-m0755
$(IDIR_MTD
)/sbin
26 install -m0755
$(PKG_BUILD_DIR
)/mtd
$(IDIR_MTD
)/sbin
27 $(RSTRIP
) $(IDIR_MTD
)/sbin
/*
28 $(IPKG_BUILD
) $(IDIR_MTD
) $(PACKAGE_DIR
)
31 install -d
-m0755
$(IDIR_MTD_STATIC
)/sbin
32 install -m0755
$(PKG_BUILD_DIR
)/mtd-static
$(IDIR_MTD_STATIC
)/sbin
33 $(RSTRIP
) $(IDIR_MTD_STATIC
)/sbin
/*
34 $(IPKG_BUILD
) $(IDIR_MTD_STATIC
) $(PACKAGE_DIR
)
This page took 0.040911 seconds and 5 git commands to generate.