3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
12 $(eval
$(call PKG_template
,NVRAM
,nvram
,$(PKG_RELEASE
),$(ARCH
)))
14 $(PKG_BUILD_DIR
)/.prepared
:
15 mkdir
-p
$(PKG_BUILD_DIR
)
16 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
29 mkdir
-p
$(IDIR_NVRAM
)/usr
/lib
30 $(CP
) $(PKG_BUILD_DIR
)/*.so
$(IDIR_NVRAM
)/usr
/lib
31 mkdir
-p
$(IDIR_NVRAM
)/usr
/sbin
32 $(CP
) $(PKG_BUILD_DIR
)/nvram
$(IDIR_NVRAM
)/usr
/sbin
33 $(RSTRIP
) $(IDIR_NVRAM
)
34 $(IPKG_BUILD
) $(IDIR_NVRAM
) $(PACKAGE_DIR
)
37 compile-targets
: install-dev
38 install-dev
: $(PKG_BUILD_DIR
)/.built
39 mkdir
-p
$(STAGING_DIR
)/usr
/lib
40 $(CP
) $(PKG_BUILD_DIR
)/*.so
$(STAGING_DIR
)/usr
/lib
This page took 0.044578 seconds and 5 git commands to generate.