3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
12 BR2_PACKAGE_NVRAM
:=y
# does not depend on menuconfig
13 $(eval
$(call PKG_template
,NVRAM
,nvram
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
15 $(PKG_BUILD_DIR
)/.prepared
:
16 mkdir
-p
$(PKG_BUILD_DIR
)
17 cp
-a .
/src
/* $(PKG_BUILD_DIR
)
20 $(PKG_BUILD_DIR
)/.built
:
21 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
27 mkdir
-p
$(IDIR_NVRAM
)/usr
/lib
28 cp
$(PKG_BUILD_DIR
)/*.so
$(IDIR_NVRAM
)/usr
/lib
29 mkdir
-p
$(IDIR_NVRAM
)/usr
/sbin
30 cp
$(PKG_BUILD_DIR
)/nvram
$(IDIR_NVRAM
)/usr
/sbin
31 $(RSTRIP
) $(IDIR_NVRAM
)
32 $(IPKG_BUILD
) $(IDIR_NVRAM
) $(PACKAGE_DIR
)
This page took 0.063801 seconds and 5 git commands to generate.